Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I want to disable 30 commandbuttons on a sheet. At the moment I'm using the following code which works, but I'm sure there must be a better way. Sheet7.CommandButton1.Enabled = False Sheet7.CommandButton2.Enabled = False (repeated to comandbutton30) Any help appreciated (If you could also walk me through the code as to what its doing that would be great for my learning!) Cheers Peter (slogging through my first VBA project) -- peter.thompson ------------------------------------------------------------------------ peter.thompson's Profile: http://www.excelforum.com/member.php...o&userid=29686 View this thread: http://www.excelforum.com/showthread...hreadid=503729 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Data cleanup | Excel Worksheet Functions | |||
Code cleanup | Excel Programming | |||
Code cleanup help please | Excel Programming | |||
Leo Heuser format cleanup code, and a question | Excel Programming | |||
Source Data Code Cleanup Help | Excel Programming |