Toolbar and menu customizations are saved in your Excelxx.xlb file and show
up whenever Excel is opened.
Best practice is to not add/customize to the default but to create the
Toolbar just when the workbook is opened.
Then delete it when that workbook is closed.
See Debra Dalgleish's site for instructions by Dave Peterson.
http://www.contextures.on.ca/xlToolbar02.html
I think in your case, ignore the part about saving as an add-in and just
save the code in the one workbook in question.
Gord Dibben MS Excel MVP
On Sun, 5 Apr 2009 11:05:01 -0700, bryan
wrote:
I have successfully created a toolbar macro which savesas xls to network drive.
template is called "Reinsurance WS.xlt". The macro created is called SaveIR.
I created a toolbar button and assigned this macro to it.
One problem:
When I opened a blank spreadsheet for a different purpose, this macro
appeared on the toolbar.
How do I tie the macro, a toobar button, to the Reinsurance template only?
I do not want it on any other excel.
Thanks in advance,
Bryan