+ Reply to Thread
Results 1 to 3 of 3

Loss of link between macro and toolbar Icon

  1. #1
    Registered User
    Join Date
    09-30-2008
    Location
    fife
    Posts
    2

    Loss of link between macro and toolbar Icon

    I have a spreadsheet that is saved at midnight every day and then saved as for the next new day. Some times if excel has been closed down incorrectly the link between the macros and tool bar icons has been lost. with about 100 macros and icons this takes a long time to re-assign. How can I prevent this from happening.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello newatit,

    Welcome to the Forum!

    I take it this is a custom tool bar. There is probably little you can do to prevent Excel from being closed incorrectly and corrupting the tool bar. A good practice to follow is to create the tool bar each time the workbook opens as a "temporary" tool bar. In other words, the tool bar is not saved when the workbook is closed and rebuilt from code when opened.

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    09-30-2008
    Location
    fife
    Posts
    2

    Toolbar Icon macro link loss

    Hi Ross
    Thank you for your reply. I was worried that that would be the case. The spreadsheet is run for a 24hr period and then re-newed at midnight. The old one saved and this is continual for 365 days a year. I guess I'll just have to get my head down and keep working
    Many thanks Newatit

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Manipulating Macro Button in Standard Toolbar
    By DCSwearingen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-02-2008, 11:57 AM
  2. Exporting toolbar
    By resulgul in forum Excel General
    Replies: 2
    Last Post: 01-18-2008, 10:23 AM
  3. Replies: 2
    Last Post: 10-28-2007, 02:35 PM
  4. Applying macro within a custom macro button to all workbooks
    By BigBas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-14-2007, 03:34 PM
  5. Running Excel Macro with Menu or Toolbar
    By Niaz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2007, 12:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1