Mega Code Archive

 
Categories / VisualBasic Script / Language Basics
 

Make a constant available to all modules in your application, use the Public keyword in front of the Const statement

Public Const NumOfChar = 255 Sub publicConst()    MsgBox NumOfChar End Sub