srivardhan09 Posted December 2, 2009 Posted December 2, 2009 Dear All,Can you please help me sorting this codePrivate Sub CommandButton1_Click()If CheckBox1.Value = True ThenRange("a1:b7").AutoFilter Field:=1, Criteria1:="A"GoTo jump1ElseIf CheckBox1.Value = False ThenGoTo jump1jump1:If CheckBox2.Value = True ThenUnion(Selection, Range("a1:b7")).AutoFilter Field:=1, Criteria1:="B"GoTo jump2ElseIf CheckBox2.Value = False ThenGoTo jump2jump2:If CheckBox3.Value = True ThenUnion(Selection, Range("a1:b7")).AutoFilter Field:=1, Criteria1:="C"End IfEnd IfEnd IfEnd IfEnd IfEnd SubRegards,Srivardhan
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now