Conditionally disabling activex toggle buttons

T

The Researcher

Does anyone know how I can disable an activex toggle button (I am imagining
it going lightgrey or something like that and the use not being able to use
it) depending on the value of a specific cell?

Any help is greatly appreciated!
 
J

JLGWhiz

If it is from the control toolbox and on a worksheet, then:

Sub dk()
Sheets(1).ToggleButton1.Enabled = False
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top