I am at a loss for how to do this. My current code is simple and displays data only for the latest checked box:
Private Sub ComboBox1_Change()
End Sub
Private Sub CheckBox1_Change()
Me.ListBox1.RowSource = "Sheet2!A22:A32"
End Sub
Private Sub CheckBox2_Change()
Me.ListBox1.RowSource = "Sheet2!A2:A7, A22:A26"
End Sub
Private Sub CheckBox3_Change()
Me.ListBox1.RowSource = "Sheet2!A8:A13, A22:A26"
End Sub
Private Sub CheckBox4_Change()
Me.ListBox1.RowSource = "Sheet2!A14:A17"
End Sub
Private Sub CheckBox5_Change()
Me.ListBox1.RowSource = "Sheet2!A18:A21"
End Sub
Private Sub Label1_Click()
End Sub
However, I need these checkboxes to aggregate as they are checked without duplicating data that is already displayed (cells A22:A26 are shared between checkboxes1-3). Also, I just realized that my code errors on Me.ListBox1.RowSource = "Sheet2!A2:A7, A22:A26", so I guess I need to learn how to make split references too. Thanks ahead of time if you decide to take this on.
Private Sub ComboBox1_Change()
End Sub
Private Sub CheckBox1_Change()
Me.ListBox1.RowSource = "Sheet2!A22:A32"
End Sub
Private Sub CheckBox2_Change()
Me.ListBox1.RowSource = "Sheet2!A2:A7, A22:A26"
End Sub
Private Sub CheckBox3_Change()
Me.ListBox1.RowSource = "Sheet2!A8:A13, A22:A26"
End Sub
Private Sub CheckBox4_Change()
Me.ListBox1.RowSource = "Sheet2!A14:A17"
End Sub
Private Sub CheckBox5_Change()
Me.ListBox1.RowSource = "Sheet2!A18:A21"
End Sub
Private Sub Label1_Click()
End Sub
However, I need these checkboxes to aggregate as they are checked without duplicating data that is already displayed (cells A22:A26 are shared between checkboxes1-3). Also, I just realized that my code errors on Me.ListBox1.RowSource = "Sheet2!A2:A7, A22:A26", so I guess I need to learn how to make split references too. Thanks ahead of time if you decide to take this on.