Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
A.M A.M is offline
external usenet poster
 
Posts: 1
Default Autorun Add-In

Hi,

I've created a excel macro and I want to make it globally in excel. That
means that I have the macro any ttime that I open any excel file.

How do I do that? Any link to on line resource can help.

Thanks,
Alan


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Autorun Add-In

Hi

You can your personal.xls file or save a workbook with the code as a addin.

If you want to use the macro in all your workbooks you can copy the macro in
your personal.xls.
This is a (normal) hidden workbook that is loaded automatically by Excel.
When you record a macro, you have the option of recording it to your
Personal Macro Workbook.
The file, Personal.xls, is stored in your \XLStart directory.

The easiest is to record a dummy macro and choose Personal Macro Workbook.
Excel create the file for you this way.
Then copy your macro in this file and delete the dummy macro.


--
Regards Ron de Bruin
http://www.rondebruin.nl


"A.M" wrote in message ...
Hi,

I've created a excel macro and I want to make it globally in excel. That
means that I have the macro any ttime that I open any excel file.

How do I do that? Any link to on line resource can help.

Thanks,
Alan




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Autorun Add-In

Hi,

You have to change the workbook in which the macro resides into an xla-file
(add-in). Now add it to the add-in list ToolAdd-insBrowse to get it into
your list, and ensure that the check box is ticked before closing the
dialogue box. Every time you subsequently open XL the add-in will load.

Just make sure your code is water-tight before you do this.

Here are a few links to get you started.

http://j-walk.com/ss/excel/faqs/xl97faq7.htm
http://www.erlandsendata.no/english/...baaddinexcel97
http://www.cpearson.com/excel/xltools.htm

Regards
Paul


"A.M" wrote in message
...
Hi,

I've created a excel macro and I want to make it globally in excel. That
means that I have the macro any ttime that I open any excel file.

How do I do that? Any link to on line resource can help.

Thanks,
Alan




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
Autorun macro Josh Excel Discussion (Misc queries) 2 August 16th 09 02:19 PM
AutoRun Macro chrisnsmith Excel Worksheet Functions 5 February 4th 09 07:25 PM
autorun a macro [email protected] New Users to Excel 2 January 24th 08 05:41 PM
autorun a macro Reab Excel Programming 1 November 28th 03 09:42 PM
autorun macro hke[_3_] Excel Programming 6 October 16th 03 01:18 PM


All times are GMT +1. The time now is 03:46 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"