I am using a large number (21 presently, growing later) of buttons on one particular sheet,
and rather than specifying B1.Visible = False .. B21.Visible = False, can I use a For statement somehow?
Also, all these buttons will be assigned variables based on their unique functions before referincing a generic function. i.e.![]()
For Butt = 1 To 21 ("B" & Butt).Visible = False End For
'Each Button pressed disables the previous button
Is there anyway to do this, or am I going to have to do it the long way, of copy and paste 21 times and renaming?![]()
("B" & (Butt - 1)).Enabled = False
Any assistance available?
Thanks!
Bookmarks