Stu said:
I have 9 sheets and 12 macros in each sheet, I have put the 12 macros
into one macro in the same sheet but I can't seem to run the macro from
another sheet if I add it to a sub or make a new sub for this. Help!
Try this:
Go the Visual Basic Editor. Click Insert Module, then stick all your
macros in there.
The thing is that if you have a macro called Test in the code attached to
sheet1, it actually has to be referenced by its full name Sheet1.Test - at
least that applies to any code outside the sheet 1 code. You can call it
from the other worksheet code by using its full name, ie Sheet1.Test.
On the other hand if you stick the macros in a general module, they can be
referenced from any of the sheets just by their ordinary names, ie Test in
the example above.
HTH (and is moderately clear!)
Geoff