If Check Box 1 is on Sheet1, this is the syntax for changing its .Enabled property.
(The capitalization and spaces in the shape name are important.)
Excel thinks that Controls from the Forms menu are Shapes. Most of their properties are accessed via
Looking at the Object Browser under ControlFormat or OLEObject will give you a list of which properties go with which format.
About your desire to control the Enabled property of some checkboxes by checking another.
1) You need to write a macro that toggles the Enabled properties you are interested in. Then right click on the controling check-box and assign that macro to the controling check-box.
2) .Enabled = False does not visibly grey Forms check-boxes. You might consider toggleing the .Visible property instead.
The .Visible property is accesed with this syntax
As I recall, the With...End With construct was not avaliable in Fortran IV, but that may have changed. Working in VB, it is very useful.
I hope this helps.
Bookmarks