#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro

With Excel 2003 worksheet "XXX" open, I wrote a macro.
I saved it the only apparent way, making it available 'to all open
worksheets"
I intended to use it on other worksheets with identical formats and similar
data.

But, to use the macro with worksheet "YYY", I must have "XXX" open.

I vaguely remember a way to save macros so they are available to
any worksheet without any other special worksheet being open.

But I can't remember how to do it and can't find how to do it.
Izzer a way?

Thanks,
Carl




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default Macro

Yes.

Put the common use macros in personal.xls in your XLStart folder. If you
don't have a personal.xls, make one.
--
Gary's Student


"Carl" wrote:

With Excel 2003 worksheet "XXX" open, I wrote a macro.
I saved it the only apparent way, making it available 'to all open
worksheets"
I intended to use it on other worksheets with identical formats and similar
data.

But, to use the macro with worksheet "YYY", I must have "XXX" open.

I vaguely remember a way to save macros so they are available to
any worksheet without any other special worksheet being open.

But I can't remember how to do it and can't find how to do it.
Izzer a way?

Thanks,
Carl





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Macro

Carl

IMO the easiest way to have global macros available is to put them into an
add-in then checkmark that add-in in ToolsAdd-ins.

Open the workbook with the macro.

FileSave AsFile TypeExcel Add-in(*.xla).

You have to scroll to the bottom of the list to find it.

Store this add-in in your Office\Library.

You can create more macros and modules in the add-in by opening the Visual
Basic Editor and Project Explorer.

As an alternative, you can record/create macros directly into your Personal
Macro workbook(you are given that option when recording). That Personal.xls
will be stored by Excel in your XLSTART folder and open with each session of
Excel.

Save it "Hidden" so's you don't see it, but the macros will be available.

I prefer the add-in mainly because when you assign or call a macro you don't
need to preface it with the "Personal.xls"

One disadvantage of the add-in is the macros don't appear in the Macro List
under ToolsMacroMacros.


Gord Dibben Excel MVP

On Mon, 29 Aug 2005 14:49:06 -0700, "Carl" wrote:

With Excel 2003 worksheet "XXX" open, I wrote a macro.
I saved it the only apparent way, making it available 'to all open
worksheets"
I intended to use it on other worksheets with identical formats and similar
data.

But, to use the macro with worksheet "YYY", I must have "XXX" open.

I vaguely remember a way to save macros so they are available to
any worksheet without any other special worksheet being open.

But I can't remember how to do it and can't find how to do it.
Izzer a way?

Thanks,
Carl




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
Macro recorded... tabs & file names changed, macro hangs Steve Excel Worksheet Functions 3 October 30th 09 11:41 AM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
how to count/sum by function/macro to get the number of record to do copy/paste in macro tango Excel Programming 1 October 15th 04 01:16 PM
macro to delete entire rows when column A is blank ...a quick macro vikram Excel Programming 4 May 3rd 04 08:45 PM
Start Macro / Stop Macro / Restart Macro Pete[_13_] Excel Programming 2 November 21st 03 05:04 PM


All times are GMT +1. The time now is 05:42 AM.

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

About Us

"It's about Microsoft Excel"