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

Hello,

Is there any way to disable the standard excel menu options.
I managed to create own custom menu but I'd like hide the others

I know how to create/add new menu items but don't know how to get rid of
the standard ones.
When closing the worksheet the standrd menu should be restored.


Thanks for your help,
Dusan


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Disabling standart menu options

CommandBars("Worksheet Menu Bar').Enabled = False 'True

--

Vasant

"Dusan" <a@a wrote in message
...
Hello,

Is there any way to disable the standard excel menu options.
I managed to create own custom menu but I'd like hide the others

I know how to create/add new menu items but don't know how to get rid of
the standard ones.
When closing the worksheet the standrd menu should be restored.


Thanks for your help,
Dusan




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Disabling standart menu options

But is it possible to disable just some menu options like "File", "Windows"?
I'd like to keep the meno bar but wont to remove some menu options.

Cheers
Dusan


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
CommandBars("Worksheet Menu Bar').Enabled = False 'True

--

Vasant

"Dusan" <a@a wrote in message
...
Hello,

Is there any way to disable the standard excel menu options.
I managed to create own custom menu but I'd like hide the others

I know how to create/add new menu items but don't know how to get rid of
the standard ones.
When closing the worksheet the standrd menu should be restored.


Thanks for your help,
Dusan






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Disabling standart menu options

Yes; e.g.:

CommandBars("Insert").Controls("Name").Controls("D efine...").Enabled = False

--

Vasant

"Dusan" <a@a wrote in message
...
But is it possible to disable just some menu options like "File",

"Windows"?
I'd like to keep the meno bar but wont to remove some menu options.

Cheers
Dusan


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
CommandBars("Worksheet Menu Bar').Enabled = False 'True

--

Vasant

"Dusan" <a@a wrote in message
...
Hello,

Is there any way to disable the standard excel menu options.
I managed to create own custom menu but I'd like hide the others

I know how to create/add new menu items but don't know how to get rid

of
the standard ones.
When closing the worksheet the standrd menu should be restored.


Thanks for your help,
Dusan








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
Disabling Tools/Options setting Jeronimo Excel Discussion (Misc queries) 3 March 22nd 10 05:10 AM
Menu options Luis Elguezabal Excel Worksheet Functions 1 May 8th 08 02:59 PM
Standart deviation ? Loic Charts and Charting in Excel 1 August 23rd 05 11:49 PM
Options Menu abarger123 Excel Discussion (Misc queries) 5 August 17th 05 04:38 PM
Disabling menu items in VBE Michael Singmin Excel Programming 1 October 10th 03 01:39 PM


All times are GMT +1. The time now is 01:29 PM.

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"