Common module by multiple workbooks

  • Thread starter Thread starter S@S
  • Start date Start date
S

S@S

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top