Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Manipulating a checkbox by name dynamically
I have a bunch of checkboxes (not an array) that have
names like: rep1_cb, rep2_cb, rep3_cb, etc. I need to iterate through all of them and change their captions. My code looks something like this: Dim counter as integer counter = 1 Do Until... Sheet1.OLEObjects("rep" & counter & "_cb").Object.??? counter = counter + 1 Loop I don't know the syntax here for this. Is "Sheet1" the correct thing to use altogether? Thanks! Eliezer |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to have Checkbox A uncheck with checked Checkbox B | Excel Discussion (Misc queries) | |||
Manipulating shapes | Excel Discussion (Misc queries) | |||
Manipulating a checkbox by name dynamically | Excel Programming | |||
Manipulating bits | Excel Programming | |||
Manipulating DOS from VBA | Excel Programming |