Disabling menu items?

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

How can I disable, for example, the 'delete record' menu
item from the Access application menu bar? My dB security
has delete permissions removed for non-admin users for all
forms, but the application menu bar still allows record
deletion - am i missing something? Thanks in advance,

Andy
 
Andy said:
How can I disable, for example, the 'delete record' menu
item from the Access application menu bar? My dB security
has delete permissions removed for non-admin users for all
forms, but the application menu bar still allows record
deletion - am i missing something? Thanks in advance,

Andy

You need of "Microsoft Office xx.xx Object Library" on your reference, so on
startup use this :
Application.CommandBars("Menu Bar").Enabled = False

Remember to Enable it on Close Application....!!!

Alessandro(IT)
 
Back
Top