[FONT="]Is there VBA code to hide all rows that are a certain color if a checkbox is checked?
Here is a screengrab of what I am working with - [/FONT]https://ibb.co/8Kqgpxw
[FONT="]I want to be able to uncheck the checkbox next to "A" in B1 and have all of the yellow rows get hidden.
I used a simple code to get the concept to work, I just need to add the color aspect to it
[/FONT]Private Sub CheckBox2_Click()
[7:9].EntireRow.Hidden = Not CheckBox2
End Sub
Here is a screengrab of what I am working with - [/FONT]https://ibb.co/8Kqgpxw
[FONT="]I want to be able to uncheck the checkbox next to "A" in B1 and have all of the yellow rows get hidden.
I used a simple code to get the concept to work, I just need to add the color aspect to it
[/FONT]Private Sub CheckBox2_Click()
[7:9].EntireRow.Hidden = Not CheckBox2
End Sub