Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 113
Default Excel Menu Dissapeared

I lost my main menu and only have my toolbars left
visible. I created a custom menu items but I did it in
VBA so I can just re-run the macro. I just need to get
the default menu back.

I lost it by running this:

Sub test()
Set myMenuBar = CommandBars.ActiveMenuBar
With myMenuBar.Enabled = False
End With
End Sub

I tried to change Enabled to True but it didn't work.
I'm on Excel XP. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Menu Dissapeared

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

--
Regards,
Tom Ogilvy


"dan" wrote in message
...
I lost my main menu and only have my toolbars left
visible. I created a custom menu items but I did it in
VBA so I can just re-run the macro. I just need to get
the default menu back.

I lost it by running this:

Sub test()
Set myMenuBar = CommandBars.ActiveMenuBar
With myMenuBar.Enabled = False
End With
End Sub

I tried to change Enabled to True but it didn't work.
I'm on Excel XP. Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 113
Default Excel Menu Dissapeared

Right on worked in a second, Thanks alot!

-----Original Message-----
CommandBars("Worksheet Menu Bar").Enabled = True

--
Regards,
Tom Ogilvy


"dan" wrote in

message
...
I lost my main menu and only have my toolbars left
visible. I created a custom menu items but I did it in
VBA so I can just re-run the macro. I just need to get
the default menu back.

I lost it by running this:

Sub test()
Set myMenuBar = CommandBars.ActiveMenuBar
With myMenuBar.Enabled = False
End With
End Sub

I tried to change Enabled to True but it didn't work.
I'm on Excel XP. 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
Drop dwn menu. Formula to count selection frm menu in anoth cell? ggoldber Excel Worksheet Functions 1 June 4th 08 02:21 PM
Excel -My paste menu is not the norm. The menu is different. wduval1715 Setting up and Configuration of Excel 2 November 3rd 07 07:07 PM
Fill & Font colours have dissapeared Ferd Excel Discussion (Misc queries) 1 October 23rd 07 09:43 PM
My Excel menu bar has dissapeared AllanF Excel Discussion (Misc queries) 7 April 17th 07 11:40 PM
Menu items added with menu item editor in older versions Michael Hoffmann Excel Discussion (Misc queries) 2 January 7th 05 01:40 PM


All times are GMT +1. The time now is 08:49 PM.

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"