![]() |
Toolbar Buttons and Macros available always
I've received some great help here and I made a couple
macros and assigned them to a button on the toolbar. They work great in the file I wrote them in. When I open another existing spreadsheet, the buttons are there, but the macros aren't, so I get an error. How do I make those macros available to all documents, both existing and future? Similar to how Word's normal.dot template works. Thanks in advance. Jerry |
Toolbar Buttons and Macros available always
drop the file with the buttons and macros into the XLStart folder and it
will load each time excel opens. "Jerry" wrote in message ... I've received some great help here and I made a couple macros and assigned them to a button on the toolbar. They work great in the file I wrote them in. When I open another existing spreadsheet, the buttons are there, but the macros aren't, so I get an error. How do I make those macros available to all documents, both existing and future? Similar to how Word's normal.dot template works. Thanks in advance. Jerry |
Toolbar Buttons and Macros available always
Hi Jerry,
Really a matter of having macros available in any workbook. Create a personal.xls workbook in your XLSTART directory. You can let excel do this for you by recording a macro and using the personal.xls button when you name the macro. Place the macros that you want to be available at all times in your personal.xls -- you can use another name for the workbook if you want but Excel makes it easier for you to use the conventional personal.xls filename. When you hide (window, hide within Excel) your personal.xls the macros will be available to all workbooks. http://www.mvps.org/dmcritchie/excel/getstarted.htm In the reply that "Township of " just posted, you do not want to put your workbooks into the XLSTART directory, just the macros. Anything in your XLSTART directory will be started with Excel and if you have normals workbooks opening up you will create yourself one big problem. --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "Jerry" wrote in message ... I've received some great help here and I made a couple macros and assigned them to a button on the toolbar. They work great in the file I wrote them in. When I open another existing spreadsheet, the buttons are there, but the macros aren't, so I get an error. How do I make those macros available to all documents, both existing and future? Similar to how Word's normal.dot template works. Thanks in advance. Jerry |
Toolbar Buttons and Macros available always
Thanks, David, you taught me a lot!
Jerry |
All times are GMT +1. The time now is 12:26 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com