How to efficiently declare variables
I guess I don't understand how to correctly declare variables. Before I had
been writing
Dim x1, x2, x3, x4 as double
I just learned that this declares x1, x2, and x3 as variants and x4 as a
double. Is there an easier way to declare x1, x2, x3 and x4 as double other
then typing
x1 as double, x2 as double, etc.
This seems like a HUGE pain because I have about 75 variables in my module.
(These are declared at the modular level, so they can be used by all the
macros in the module)
Thanks for your help.
|