Running macros from another workbook
Lance,
The argument to Run should be text.
Run "Macros.xlm!A0FormatMeans"
Having said that, the .xlm extension has me worried. Are you running Excel 4 macros?
--
John Green - Excel MVP
Sydney
Australia
wrote in message ...
I have a workbook called macros.xlm that is a hidden workbook that
I always open when Excel is opened.
If I have another workbook open (say Test.xls) and I create a macro
sub test()
End sub
How do I call a macro from macros.xlm from Test.xls?
I have tried:
sub test()
Run Macros.xlm!A0FormatMeans
End sub
and a few other things but just cannot figure it out.
Lance
|