Hello,
I am trying to reduce the number of lines of code in my workbook where I am hiding and unhiding a lot of Option Buttons. Is there a way to hide/unhide multiple option buttons in one line?
Thank you.
I am trying to reduce the number of lines of code in my workbook where I am hiding and unhiding a lot of Option Buttons. Is there a way to hide/unhide multiple option buttons in one line?
VBA Code:
ActiveSheet.Shapes("Option Button 20").Visible = True 'Yes Sub 1
ActiveSheet.Shapes("Option Button 21").Visible = True 'No Sub 1
Thank you.