Moluccanmom
New Member
- Joined
- Oct 13, 2016
- Messages
- 41
Hello,
I have a form control button, that hides/unhides rows.
What I would like to do in addition to my code is to change the color of Range("A4:C4") to blue and with the next click back to grey.
Thank you,
Moluccanmom
I have a form control button, that hides/unhides rows.
What I would like to do in addition to my code is to change the color of Range("A4:C4") to blue and with the next click back to grey.
Code:
Sub Button1_Click()
Rows("1:3").Hidden = Not Rows("1:3").Hidden
Rows("13:15").Hidden = Not Rows("13:15").Hidden
Rows("27:28").Hidden = Not Rows("27:28").Hidden
Rows("31:39").Hidden = Not Rows("31:39").Hidden
End Sub
Thank you,
Moluccanmom