View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dusan[_2_] Dusan[_2_] is offline
external usenet poster
 
Posts: 2
Default CommandBars("Insert").Enabled question

Hello,

In my code I want to dissable some menu options so I did:

CommandBars("File").Enabled
CommandBars("Insert").Enabled
....
CommandBars("Window").Enabled

All options I want are disabled but the "Insert" is not.
There is no error messasge at all.
Any idea what is going wrong?

If there is any way to make some options invisible
would be even beter. I tried

CommandBars("Insert").Visible = False

but getting message:
"Method Visible of object CommandBar failed"


Thank you very much
Dusan