Mike Rudolph
asked on
Set ALL ToggleButton state using VBA code?
Can't seem to find code to set the value of all toggle buttons on a form to true or false.
I have over 50 toggle buttons on the form so need a way to do this in a For Loop.
I have over 50 toggle buttons on the form so need a way to do this in a For Loop.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Roy, the change color options was helpful! Thank you!
Pleased to help, do use MSForms.Control instead of just Control though.
Open in new window
A long time ago I used similar code but had issues the addition of MsForms.Controls cured the issues and I've used it ever since. In fact I've just found some code that I posted previously that changes the colour of the buttons as well
Open in new window