I have a list of data that I am trying to be able to quickly filter a list with checkboxes. Currently I have this bound to several checkboxes (one for each column)
Private Sub CheckBox1_Click()
Selection.AutoFilter Field:=27, Criteria1:="<>0", Operator:=xlAnd
End Sub
They successfully sort my data when checked, but don’t undo themselves when unchecked. Is there a way I can make them do with, preferably with check boxes?
Thanks
PS. It’s just a looks thing, but is there a way to reverse the states of the check box so that when it’s unchecked it does the filter?
Private Sub CheckBox1_Click()
Selection.AutoFilter Field:=27, Criteria1:="<>0", Operator:=xlAnd
End Sub
They successfully sort my data when checked, but don’t undo themselves when unchecked. Is there a way I can make them do with, preferably with check boxes?
Thanks
PS. It’s just a looks thing, but is there a way to reverse the states of the check box so that when it’s unchecked it does the filter?