Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
TBD TBD is offline
external usenet poster
 
Posts: 41
Default Menu-bar missing when launching Excel

Thanks very much, Jon.
I'm intruiged by "tool-bar customizations" and will
remember that sheet _deactivate is available!

Thanks/Cheers!

"Jon Peltier" wrote:

Toolbars do not reside with a worksheet, and with the exception of
attached custom toolbars, they do not reside with workbooks. They are a
part of the Excel Application. Also, built-in toolbars and menus cannot
be deleted, only hidden. I suspect your VBA just went and hid them.

Ron's suggestion to hose your .xlb file is okay if you don't have
toolbar customizations, since those are stored in the .xlb file (and not
in a format that ordinary humans can alter). It would be better to go
back into the VB Editor and restore what you hid.

If you want to hide menus and toolbars when a certain sheet is active,
you should hide them in that sheet's _Activate event, but don't forget
to save the list of hidden elements so you can restore them in that
sheet's _Deactivate event.

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/



tbd wrote:
Greetings,
I used VBA to remove menu and tool bars from the first sheet of an
.xls I'm developing, but managed to change Excel's defaults such that when
simply launching excel, the menu-bar is missing!

Does Excel use a configuration text-file I can change with notepad?

Note: I can open Help via the code-page (right-click on 'sheet1'
view code) but can't change worksheet properties there. I can get to
worrksheet menu-bar by opening my VBA code, it runs code to show menus,
though, my attempts to reset default properties have failed.

Thanks/Cheers!


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
excel menu missing Euan Excel Discussion (Misc queries) 2 June 19th 06 08:12 PM
Menu bar on excel is missing? lilio23 Excel Discussion (Misc queries) 1 May 9th 06 11:12 AM
missing menu in excel..help! Alicia Excel Discussion (Misc queries) 1 February 10th 06 03:05 AM
Excel menu bar missing Aelharrati Excel Discussion (Misc queries) 1 January 18th 06 08:50 PM
missing excel menu methowcabin Setting up and Configuration of Excel 2 October 4th 05 11:02 PM


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