Dimming Menu Items

B

Berny

Can someone tell me if there is a way of dimming Menu items in an Access
application.

I've created a custom Menu and want to dim items based on the users Access.

If so, what is the VBA coding look like?????

Or is VBA the correct way to do it?

Any help is appreciated.
 
J

Jeff Conrad

Try something like so:

CommandBars("MyCustomBar").Controls("MyOption").Controls("MyControl").Enabled = False

You may have to experiment based on your setup.
Basically you are "walking down" the menu list.
 
Top