Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Is is possible to disable certain menu items

Is is possible to disable certain menu items using VBA so that when a
workbook is opened, the menu item is disabled until a password is entered?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Is is possible to disable certain menu items

Yes.Set the Enabled property to False

Application.Commandbars.FindControl(Id:=30007).Ena bled=False

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Buster" wrote in message
...
Is is possible to disable certain menu items using VBA so that when a
workbook is opened, the menu item is disabled until a password is entered?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Items in Menubar cassy01 Excel Discussion (Misc queries) 2 November 8th 05 08:20 PM
Menu items added with menu item editor in older versions Michael Hoffmann Excel Discussion (Misc queries) 2 January 7th 05 01:40 PM
Disable menu items with VBA jst_se Excel Programming 1 July 22nd 04 08:25 PM
Menu Items and Disable/Enable in Excel 2003 [email protected] Excel Programming 1 February 6th 04 08:14 PM
HELP - How do I disable Excels menu items so others can't use Marcello do Guzman Excel Programming 2 December 20th 03 02:14 PM


All times are GMT +1. The time now is 07:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"