+ Reply to Thread
Results 1 to 5 of 5

Delete Custom Toolbar

  1. #1
    Registered User
    Join Date
    08-17-2011
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Delete Custom Toolbar

    How do I permenantly delete a no longer wanted Custom Tool Bar?
    I am using Excel 2003 and recently updated an Add-In to include an additional function and modified the associated Custom Tool Bar to include a button to invoke the new feature. Alas, every thing I have tried to delete the previous Custom Tool Bar has been futile. The Customize/Toolbars/Delete only eliminates the previous toolbar for that session of Excel. However when I reopen Excel it is redisplayed. I checked the .XLB file update date and verified that it is being written upon Excel closure.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Delete Custom Toolbar

    Is the ToolBar created using code?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    08-17-2011
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Delete Custom Toolbar

    Re your question "Is the ToolBar created using code?" The answer is no. The unwanted Custom Tool Bar is some how attached to the .XLA file which contains macros. The macros have no code to create the Custom Toolbar. I just added Private Sub Workbook_Open() code to the ThisWorkBookXLA file " Application.CommandBars("Name of Old ToolBar").Delete" and that deletes the CustomToolBar upon opening of Excel. I am looking for a method to delete in a manner where it is no longer "attached" or what ever to the .XLA file.

    Thanks much for your response.
    Last edited by crawding; 08-17-2011 at 03:07 PM. Reason: Clarify my response.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Delete Custom Toolbar

    Try this

    View -> Toolbars -> Customize -> Reset

  5. #5
    Registered User
    Join Date
    08-17-2011
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Delete Custom Toolbar

    [QUOTE=royUK;2582285]Try this

    I tried View -> Toolbars -> Customize -> Reset . The Custom Toolbar still reappears when Excel is opened. Does "Reset" only work on the "Standard" toolbar?

    After much futile searching I have decided to use a work around for now. One of the original original Custom Toolbar buttons now calls a macro containing a Message Box which allows the user to select which one of two functions they want to run. Actually a bad intuitive solution as the two functions both relate to Time.

    Thanks again royUK for your interest and help

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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