Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default 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




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Toolbar Buttons and Macros available always

Thanks, David, you taught me a lot!

Jerry
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning Macros to Toolbar buttons JMay Excel Discussion (Misc queries) 1 July 24th 07 07:22 PM
How can you replicate macros for buttons on the Standard toolbar? Suzi Excel Discussion (Misc queries) 1 February 16th 07 09:53 PM
Names of macros for toolbar buttons DredanZyl[_3_] Excel Programming 3 June 6th 04 10:17 AM
Icons on toolbar buttons (Was: Toolbars with macros) Phil Bewig Excel Programming 1 February 2nd 04 03:49 PM
Problem with macros assigned to toolbar buttons Greg Wilson[_3_] Excel Programming 1 September 8th 03 07:50 PM


All times are GMT +1. The time now is 12:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"