Toolbars & command disabled

D

dgold82

I found the following code that works great for me in that it disables right
click and all toolbars for the workbook on startup. Is there any way to
enable only certain right click functions. I have radio buttons that a user
will click on and I would like to keep "clear contents" available only.

Sub Commands()
Dim oCB As CommandBar
For Each oCB In Application.CommandBars
oCB.Enabled = False

Next oCB
End Sub
 
D

dgold82

Any takers on this one? It would be a good alternative for me since I can't
seem to find a solution to reseting a radio button by just clicking.
 

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

Similar Threads


Top