Disable Certain Menu Items in a Custom Built Menu

Access Virgin

Registered User.
Local time
Today, 03:06
Joined
Apr 8, 2003
Messages
77
I followed a post on this forum on how to disable certain menu items in a custom built menu but i was wondering if anyone knew how to disable actual options within these menu items, for example if the the menu item File contained the options Open, Close, Print and Exit, how would I go about disabling the Print option?

This is part of the code that I used to disable a menu item....

Set ctl = CommandBars(Menu).Controls("&File")
ctl.Enabled = False

A reply would be greatly appreciated.:confused:
 

Users who are viewing this thread

Back
Top Bottom