Module Definition
SyntaxGroup[ | Private | Public | Friend ] _ Module name ... End Module
DeclarationDescription
A Module implements a code library.Access
- Has a set of Publicprocedures accessible from other macros and modules.
- These public symbols are accessed directly.
- May be initialized by a Private Sub Main.
Projects: A Module block can only be declared in a macro, Code module or a project's module.
If no access is specified then Friend is assumed.See Also
Class, Code Module, Module_Initialize, Module_Terminate
Option Explicit Module Utilities Function Double(ByVal X As Long) As Long Double = X*2 End Function End Module