Local Variable
A Local variable is a variable whose scope is limited to the Block of the Subroutine defining it.
Private Sub Command1_Click
Dim a as integer
End Sub
Module Level Variable
A Module Level variable is a variable whose scope is limited to the Form Module defining it.
Public Sub Command1_Click
Dim a as integer
End Sub
Global Level Variable
A Global Level variable is a variable whose scope can be limited to the entire project defining it.
Private Sub Class_Initialize ()
Dim a As Integer
End Sub
Copyright © 2026 eLLeNow.com All Rights Reserved.