Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Dim OLEObj As OLEObject Dim iCtr As Long For iCtr = 10 To 20 Worksheets("Sheet1").OLEObjects("OptionButton" & iCtr).Enabled = False Next iCtr Will wrote: Thanks for your help Rick. All my OptionButtons come from the ActiveX Controls toolbox. Another question: If I don't want to disable ALL Optionbuttons, but only a subset. -- for example OptionButton10 to OptionButton20. Is this possible? Is there a For ... Next routine I can use? Thanks, Will -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Enabling Option Buttons - Control | Excel Programming | |||
Userforms: Disabling - Enabling the X | Excel Programming | |||
Disabling/Enabling Macros | Excel Programming | |||
Enabling/Disabling Macros | Excel Programming | |||
Option buttons - disabling | Excel Programming |