Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default command disabling

Any ideas on how to de-activate(dim) and then re-activate specific commands
from any menu or toolbar they are placed in?

For example, I want to disable the OPTIONS command during the period a
workbook is open and it shouldn't be active from ANY menu or toolbar.

Already the script records original settings, applies the required settings
and on closing, restores the original settings.

However, the workbook is vulnerable to OPTION changes during the period it
is open!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default command disabling

Hi JB2005

Start here
http://www.rondebruin.com/menuid.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl


"JB2005" wrote in message ...
Any ideas on how to de-activate(dim) and then re-activate specific commands
from any menu or toolbar they are placed in?

For example, I want to disable the OPTIONS command during the period a
workbook is open and it shouldn't be active from ANY menu or toolbar.

Already the script records original settings, applies the required settings
and on closing, restores the original settings.

However, the workbook is vulnerable to OPTION changes during the period it
is open!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default command disabling

EXCELLENT!
:)

"JB2005" wrote:

Any ideas on how to de-activate(dim) and then re-activate specific commands
from any menu or toolbar they are placed in?

For example, I want to disable the OPTIONS command during the period a
workbook is open and it shouldn't be active from ANY menu or toolbar.

Already the script records original settings, applies the required settings
and on closing, restores the original settings.

However, the workbook is vulnerable to OPTION changes during the period it
is open!

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
command code ( GOTO command) in formula calan New Users to Excel 1 June 11th 09 09:44 AM
Disabling Cut and Copy Varne Excel Discussion (Misc queries) 13 August 21st 08 03:12 PM
Pivot Table Error Message - "Command Text not set for command obje Jeff Divian Excel Discussion (Misc queries) 0 November 7th 07 10:26 PM
Disabling Alt+F11 richard_b2004 Excel Programming 3 May 17th 04 06:32 PM
disabling a command button Paul James[_3_] Excel Programming 16 February 18th 04 07:10 AM


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

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

About Us

"It's about Microsoft Excel"