Make menu invisible

M

Mel

I want to make part of my custom menu visible/invisible or gray it out. I tried the setmenuitem command but I don't see any changes. Any ideas?
 
A

Alphonse Giambrone

CommandBars("yourmenubar").Controls(4).Controls(2).Visible =False
The above would hide the second child of the 4th command.

--

Alphonse Giambrone
Email: a-giam at customdatasolutions dot us


Mel said:
I want to make part of my custom menu visible/invisible or gray it out.
I tried the setmenuitem command but I don't see any changes. Any ideas?
 
Top