Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Macro updates

I have 17 workbooks that operate with the samemacros and formulas although
they contain different data.
The problem is with updating the macros. I must import any change 17
different times.
Is there a way that I could have a central macro repository and have all of
the 17 workbooks use the central macro?

Glen


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Macro updates

Use an addin and maybe create a menu to run the macros from.

Creating an addin is very simple.


Open a new workbook and setup your code in that new workbook (you need to
make sure that you code is flexible enough to work in a different workbook
than the hosting workbook, but that is probably another story).


The save the workbook as an add-in. Addins are a workbook type, you should
find it at the bottom of the list of file types. Beware, as soon as you pick
addins, Excel will try and direct the save directory, so be doubly sure it
is where you want.

Once saved, close the workbook, and then install tghe add-in by going to
menu ToolsAddins and then click the browse button and go find the file.
You will then see an entry in the list of addins and it will be checked.
Every time Excel starts in future that add-in will be loaded. So you can
change it, and next time, the changes will be picked up.


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Glen Mettler" wrote in message
.. .
I have 17 workbooks that operate with the samemacros and formulas although
they contain different data.
The problem is with updating the macros. I must import any change 17
different times.
Is there a way that I could have a central macro repository and have all

of
the 17 workbooks use the central macro?

Glen




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

Thanks Bob. I think that is just what I need.

Glen
"Bob Phillips" wrote in message
...
Use an addin and maybe create a menu to run the macros from.

Creating an addin is very simple.


Open a new workbook and setup your code in that new workbook (you need to
make sure that you code is flexible enough to work in a different workbook
than the hosting workbook, but that is probably another story).


The save the workbook as an add-in. Addins are a workbook type, you should
find it at the bottom of the list of file types. Beware, as soon as you
pick
addins, Excel will try and direct the save directory, so be doubly sure it
is where you want.

Once saved, close the workbook, and then install tghe add-in by going to
menu ToolsAddins and then click the browse button and go find the file.
You will then see an entry in the list of addins and it will be checked.
Every time Excel starts in future that add-in will be loaded. So you can
change it, and next time, the changes will be picked up.


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Glen Mettler" wrote in message
.. .
I have 17 workbooks that operate with the samemacros and formulas
although
they contain different data.
The problem is with updating the macros. I must import any change 17
different times.
Is there a way that I could have a central macro repository and have all

of
the 17 workbooks use the central macro?

Glen






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Macro updates

If you need help with creating the menus, just post back.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Glen Mettler" wrote in message
...
Thanks Bob. I think that is just what I need.

Glen
"Bob Phillips" wrote in message
...
Use an addin and maybe create a menu to run the macros from.

Creating an addin is very simple.


Open a new workbook and setup your code in that new workbook (you need

to
make sure that you code is flexible enough to work in a different

workbook
than the hosting workbook, but that is probably another story).


The save the workbook as an add-in. Addins are a workbook type, you

should
find it at the bottom of the list of file types. Beware, as soon as you
pick
addins, Excel will try and direct the save directory, so be doubly sure

it
is where you want.

Once saved, close the workbook, and then install tghe add-in by going to
menu ToolsAddins and then click the browse button and go find the

file.
You will then see an entry in the list of addins and it will be checked.
Every time Excel starts in future that add-in will be loaded. So you can
change it, and next time, the changes will be picked up.


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Glen Mettler" wrote in message
.. .
I have 17 workbooks that operate with the samemacros and formulas
although
they contain different data.
The problem is with updating the macros. I must import any change 17
different times.
Is there a way that I could have a central macro repository and have

all
of
the 17 workbooks use the central macro?

Glen








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: Updates a formula or value when a data is entered. [email protected] Excel Worksheet Functions 4 January 25th 07 10:55 AM
Writing a macro that updates solver solutions? tdogg241 Excel Worksheet Functions 2 May 31st 06 03:41 PM
Macro Security & Automatic Link updates ph8 Excel Programming 3 February 16th 05 09:28 PM
Macro updates and link goes #REF! ??? Rob Smith Links and Linking in Excel 1 February 16th 05 01:03 PM
CAE macro for green screen updates with Excel data Sriram Excel Programming 2 July 16th 04 04:34 AM


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

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"