Hi,
I wrote a code to hide an option button but get an error (see attachment). I haven't got a clue what I'm doing wrong.
Thanks in advance for your help.
![]()
Sub hideButtonSheet1() Worksheets("Sheet1").OptionButton1.Visible = False End Sub
Hi,
I wrote a code to hide an option button but get an error (see attachment). I haven't got a clue what I'm doing wrong.
Thanks in advance for your help.
![]()
Sub hideButtonSheet1() Worksheets("Sheet1").OptionButton1.Visible = False End Sub
Last edited by TomBP; 12-09-2013 at 11:35 AM.
Try this, changing 'Option Button 1' appropriately.
![]()
Worksheets("Sheet1").OptionButtons("Option Button 1").Visible = False
If posting code please use code tags, see here.
Hi Norie,
That did the trick. Thanks for your reply.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks