Where to store standard macros

G

GB

The standard approach to storing standard macros is to put them in the
Personal.xls spreadsheet.

I find that this causes a slight problem if I open two instances of Excel. I
get told that personal.xls is already in use, and asked whether I want to
make a read-only copy.

It occurs to me that I can get around this by putting my macros in Book.xlt.
On a quick trial, it seems to work.

So, before I go down that route, what are the problems with doing that?

Thanks

Geoff
 
B

Bernie Deitrick

Geoff,

For one, every time you make a new workbook, your macros will be in
it.

HTH,
Bernie
 
T

Tom Ogilvy

Your macros will be placed in every workbook you open.

Some would consider that a disadvantage.
 
G

GB

Tom Ogilvy said:
Your macros will be placed in every workbook you open.

Some would consider that a disadvantage.

I have thought about it, and I cannot see why that is a disadvantage. Could
you kindly enlighten me, please.
 
T

Tom Ogilvy

You find one macro isn't working as expected or you want to make it more
powerful.

You now get to change it in every workbook where you want the change.

A suggestion:

Make your macro workbook an addin and load the addin through tools =>
addins. This will avoid the problem with personal.xls and multiple
instances.
 

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

Top