C
Clif McIrvin
Office / Excel 2003 SP3
XP Pro SP3
I'm writing some code that I'd like to be available to every worksheet
in the workbook, and for a variety of reasons I'm trying to avoid using
PERSONAL.XLS and/or addins. [The object of the exercise is to allow any
user within the organization to be able to utilize the macros in this
workbook as long as (s)he has a standard Office installation.]
I've written sub procedures in a standard module in the workbook /
project that are called from a Worksheet_Changed event .... the code
works as expected.
My problem is when I attempted to replace "magic numbers" in my code
with public constants: The "Public Const ..." statements are in the
declarations section of my standard module; but the constants are not
visible to the worksheet (event) code.
What am I missing?
XP Pro SP3
I'm writing some code that I'd like to be available to every worksheet
in the workbook, and for a variety of reasons I'm trying to avoid using
PERSONAL.XLS and/or addins. [The object of the exercise is to allow any
user within the organization to be able to utilize the macros in this
workbook as long as (s)he has a standard Office installation.]
I've written sub procedures in a standard module in the workbook /
project that are called from a Worksheet_Changed event .... the code
works as expected.
My problem is when I attempted to replace "magic numbers" in my code
with public constants: The "Public Const ..." statements are in the
declarations section of my standard module; but the constants are not
visible to the worksheet (event) code.
What am I missing?