Global module

  • Thread starter Thread starter Al
  • Start date Start date
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
 
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)
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top