C
Chuck
Hi all
I'd like to declare some constant values for use across a number of modules.
Do I declare them as "global" or "public"? eg:
Global Const BOILERPLATE_PATH as String = "X:\MyPath"
vs
Public Const BOILERPLATE_PATH as STring = "X:\MyPath"
I'd like to declare them only once. I've tried creating a separate module
called modGlobalConst and putting all my constants there but some subs in
other modules don't seem to be picking up those values.
I've seen "Global Const" used in MS sample code but there doesn't seem to be
any help file or KnowledgeBase info on the term.
Or am I going about this wrong?
Thanks for any feedback
Chuck
I'd like to declare some constant values for use across a number of modules.
Do I declare them as "global" or "public"? eg:
Global Const BOILERPLATE_PATH as String = "X:\MyPath"
vs
Public Const BOILERPLATE_PATH as STring = "X:\MyPath"
I'd like to declare them only once. I've tried creating a separate module
called modGlobalConst and putting all my constants there but some subs in
other modules don't seem to be picking up those values.
I've seen "Global Const" used in MS sample code but there doesn't seem to be
any help file or KnowledgeBase info on the term.
Or am I going about this wrong?
Thanks for any feedback
Chuck