I can't seem to set a global constant in Visual Basic. I write something like:
Option Explicit
Global Const ACTION_SELL As String = "S"
The compiler tells me that I can't declare constants as Public in class modules.
All I want to do is to be able to do something like:
variable = MyModule.GlobalConstant
Am I missing something here?
Option Explicit
Global Const ACTION_SELL As String = "S"
The compiler tells me that I can't declare constants as Public in class modules.
All I want to do is to be able to do something like:
variable = MyModule.GlobalConstant
Am I missing something here?
