Global module

A

Al

Hi all
I need to define:
Public RunWhen As Double
and Public Const cRunIntervalSeconds = 120 '2 minutes
in a Global module. How is that done? Could not find any
info in the help.
Many thanks
Al
 
R

Rob van Gelder

A global module? I think this is just a standard module that doesn't have
Option Private Module specified (and by default it doesn't)
 
P

Paul Robinson

Hi Al
A Public variable declared outside a sub at the top of any normal code
module is available to all other modules.
regards
Paul
 
Top