Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Macro in ToolBar Button Gets "Lost" in Template

Status
Not open for further replies.

DavidDCA

Technical User
Nov 10, 2005
1
US
This seems like a trivial thing but I cannot get this to work properly.

I have created an XLT file that the firm is going to use as the default for all future Excel files.

This XLT file has buttons on a new toolbar, and those buttons are linked to macros in the Workbook. One macro, for example, sets the cell formatting a specific way.

Here's the problem:

When a new file is opened off the XLT file, the buttons "forget" the macros that they are linked to and no longer function. The error is: The macro "C:\Program Files...\XLSTART\Book1'ThisWorkbook.MyFormat' cannot be found.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top