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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now