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

I have some menus that I want to temporarily disable via VBA. That is, I
want the user to still be able to see all the menu sub-items, but I would
like them to be greyed out and inactive. No I no I can comment our the code
that is triggered by the menue items, but I also want to grey out the items
too. How do I do this?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Disabling Menus

I would suspect you would have to loop through the lowest level controls and
set the enable property to false.

--
Regards,
Tom Ogilvy

"ExcelMonkey" wrote in message
...
I have some menus that I want to temporarily disable via VBA. That is, I
want the user to still be able to see all the menu sub-items, but I would
like them to be greyed out and inactive. No I no I can comment our the

code
that is triggered by the menue items, but I also want to grey out the

items
too. How do I do this?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Disabling Menus

See
http://www.rondebruin.com/menuid.htm

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


"ExcelMonkey" wrote in message ...
I have some menus that I want to temporarily disable via VBA. That is, I
want the user to still be able to see all the menu sub-items, but I would
like them to be greyed out and inactive. No I no I can comment our the code
that is triggered by the menue items, but I also want to grey out the items
too. How do I do this?

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Disabling Menus

Set the control's Enabled property to False.

--
Jim
"ExcelMonkey" wrote in message
...
|I have some menus that I want to temporarily disable via VBA. That is, I
| want the user to still be able to see all the menu sub-items, but I would
| like them to be greyed out and inactive. No I no I can comment our the
code
| that is triggered by the menue items, but I also want to grey out the
items
| too. How do I do this?
|
| Thanks


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
Sub-menus of main menus for Excel 2007 Eleanor Peppard New Users to Excel 1 March 16th 10 04:12 PM
difference between word 2003 menus and word 2007 menus-Explain pl kali Excel Discussion (Misc queries) 1 August 29th 07 07:56 AM
New Menus - attaching but menus are reset Greegan Excel Worksheet Functions 0 November 5th 05 03:19 PM
Disabling menus etc DonB[_2_] Excel Programming 2 May 26th 04 02:41 PM
Overriding Actions of Excel DropDown Menus and Poup Menus Von Shean Excel Programming 2 February 3rd 04 06:43 AM


All times are GMT +1. The time now is 12:36 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"