Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
S@S S@S is offline
external usenet poster
 
Posts: 1
Default Common module by multiple workbooks


I have a number of workbooks (say 30) that all have one module wit
exactly the same code in them. Every time I make some changes in th
code, I have to update all workbooks.
*Is there a way to use one common module which will be someho
called/referenced by all workbooks?*

Thank

--
S@
-----------------------------------------------------------------------
S@S's Profile: http://www.excelforum.com/member.php...fo&userid=1606
View this thread: http://www.excelforum.com/showthread.php?threadid=27519

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Common module by multiple workbooks

Save the code in your Personal.xls, which is saved in your xlstart folder.
If the file doesn't exist, create one. Whenever you open Excel, the
personal.xls file in folder xlstart will open and be hidden. However, you
can see it in the VB Editor projects. Any macro in your Personal.xls will
now be available for any open workbook to use.

Mike F
"S@S" wrote in message
...

I have a number of workbooks (say 30) that all have one module with
exactly the same code in them. Every time I make some changes in the
code, I have to update all workbooks.
*Is there a way to use one common module which will be somehow
called/referenced by all workbooks?*

Thanks


--
S@S
------------------------------------------------------------------------
S@S's Profile:

http://www.excelforum.com/member.php...o&userid=16062
View this thread: http://www.excelforum.com/showthread...hreadid=275190



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
Macros common to several workbooks Jayen Excel Worksheet Functions 2 October 31st 08 02:22 PM
VLOOKUP-common look up entry with multiple results CrimsonPlague29 Excel Worksheet Functions 3 August 11th 07 06:34 PM
Finding common Data in multiple worksheets Peter Syvertsen Excel Discussion (Misc queries) 1 October 21st 05 11:43 PM
How do I copy a new module to 200 workbooks with a macro? Patrick Young Excel Worksheet Functions 1 September 3rd 05 04:35 PM
Excel: how to merge data from 2 workbooks with 1 col. in common? Cesare Excel Discussion (Misc queries) 2 June 24th 05 11:14 PM


All times are GMT +1. The time now is 04:13 PM.

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"