.
s
r
dins,
type in
nbach
tm
lbar02.html
ddins.
Bruin's
=A0-- For macros for all workbooks (saved as an
Dave:
Thank you for your links, which I've saved for future reference. I
was trying to avoid adding menu bars or other VBA-code dependent
solutions, and wanted at most a button on an existing toolbar to hook
into the macro.
But it turns out the system was working correctly after all (or at
least it is now). I've got a personal.xls (name is important, case is
not) which contains the macro I wanted to be available to all
workbooks. I've put it in the xlstart folder at C:\Documents and
Settings\Administrator\Application Data\Microsoft\Excel\XLSTART.
The macros in personal.xls are loaded whether I click on an
existing .xls file, or I invoke Excel from the Start menu, the module
for personal.xls is listed in the VBA Project window, and most
importantly is available from Tools | Macro. No nag dialog is
presented asking if I want to disable the macros, which is also what I
wanted.
Now, I realize this is the way it was supposed to work all along, but
for some reason it didn't work this way yesterday night, which is why
I resorted to the .xla add-in. Maybe it was "user error", but we shall
see.
(For further diagnosis, another workbook, BOOK.XLS, is also located
in C:\Documents and Settings\Administrator\Application Data\Microsoft
\Excel\XLSTART and is NOT loading, irrespective of whether I click an
existing .xls file or invoke Excel from the Start menu. Tools|Options|
General "At startup, open all files in" text box is empty, so it
should be defaulting to this default location, I think. But who knows?
And when I start Excel from the Start menu, it opens personal.xls now
rather than book1.xls as it did before. This is getting too confusing
for me.)
-- Roy