PC Review


Reply
Thread Tools Rate Thread

Command Menu in Access 2007

 
 
Mike Z.
Guest
Posts: n/a
 
      16th Apr 2009
I was able to use the below code to disable the Exit and Close option from
the file menu so user had to exit the program through my main menu form in
Access 2003 but it will not work in Access 2007. Any ideas how can I
accomplish in Access 2007?

Application.CommandBars("File").Controls("Exit").Enabled = False
Application.CommandBars("File").Controls("Close").Enabled = False

Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom command and Menu bars in Access 2007 =?Utf-8?B?anNyb2dvbA==?= Microsoft Access VBA Modules 5 1st May 2008 11:51 PM
Access 2007 style ribbon menu in Access 2003 =?Utf-8?B?TmV2aWxsZVQ=?= Microsoft Access 0 6th May 2007 09:06 AM
Running Access 2003 in Access 2007 - Custom Menus and COmmand Bars Aussie Jeff Microsoft Access Form Coding 1 2nd May 2007 01:13 PM
I lost the news command from the go menu to access newsgroups. =?Utf-8?B?dW1waXJl?= Microsoft Outlook Discussion 1 3rd Nov 2004 08:54 PM
Need a Backup command under File menu in Microsoft Access =?Utf-8?B?SC4gTGVvbiBSYXBlcg==?= Microsoft Access 1 27th Oct 2004 04:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:56 PM.