Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Macro icons on menu bar disappearing

Hello Group,

I have several icons on the menu bar linked to macros.
This is in a Lims system for a technolgy department.
Today all my private icons disappeared - What could have caused this ?

When I create an icon linked to a macro - where is this stored ?

Thanks,

Michael Singmin

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 340
Default Macro icons on menu bar disappearing

Michael, the icons are stored in the XLB file which is normally in the
Windows directory. But I have found them in other directories. Typically
the name is the username of who logged onto the PC. The way to find is to
search the whole machine for XLB filetypes and the most recent modified is
the one associated with the last Excel session. I have found it useful to
hide copies of this file so that it is easy to restore menu bar
customization..

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Michael Singmin" wrote in message
...
Hello Group,

I have several icons on the menu bar linked to macros.
This is in a Lims system for a technolgy department.
Today all my private icons disappeared - What could have caused this ?

When I create an icon linked to a macro - where is this stored ?

Thanks,

Michael Singmin



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Macro icons on menu bar disappearing

Michael

Menus and Buttons can be created "on the fly" by VBA code.

OR the buttons could be created using ToolsCustomize.

If the former, could be your auto-open or workbook_open code is not firing.

If the latter, the customizations are saved in an *.XLB file.

Do a file search for *.XLB file. There may be more than one so note where
they are and make changes to your menus or toolbar and see which *.XLB file is
altered. Make a backup copy of it so's you can replace if it gets lost again.

Usually stored in your Documents and Settings\Username
Application Data\Microsoft\Excel folder.

If on a network, the *.XLB filepath can get lost.

Gord Dibben Excel MVP

On Mon, 03 May 2004 19:19:07 +0200, Michael Singmin wrote:

Hello Group,

I have several icons on the menu bar linked to macros.
This is in a Lims system for a technolgy department.
Today all my private icons disappeared - What could have caused this ?

When I create an icon linked to a macro - where is this stored ?

Thanks,

Michael Singmin


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Macro icons on menu bar disappearing

Thank you Bob and Gord,

After reading about the vagaries of the XLB structure,
I decided on protecting the toolbar with
Commandbars ("Worksheet menu Bar").Protection = msoBarNoCustomize

Thanks for your assistance,

Michael

Michael Singmin wrote:

Hello Group,

I have several icons on the menu bar linked to macros.
This is in a Lims system for a technolgy department.
Today all my private icons disappeared - What could have caused this ?

When I create an icon linked to a macro - where is this stored ?

Thanks,

Michael Singmin


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
Certain icons (Save, Copy) are disappearing from Excel and Word. LBW Excel Discussion (Misc queries) 0 April 30th 08 01:51 AM
Disappearing Worksheet Menu Bar Sandy Excel Discussion (Misc queries) 0 September 5th 07 08:14 PM
Disappearing Tool and menu bars J Streger Excel Discussion (Misc queries) 3 March 8th 06 03:42 AM
Tool Bar Icons Disappearing John Wood Excel Discussion (Misc queries) 5 September 15th 05 01:00 AM
Windows 98 desktop icons disappearing kempton Excel Programming 3 April 19th 04 02:11 AM


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