Inspection Details

ObsoleteGlobal


Summary
Locates legacy 'Global' declaration statements.
Reasoning
The legacy syntax is obsolete; use the 'Public' keyword instead.
The following code example(s) would trigger this inspection:

Option Explicit
Global Foo As Long

The following code example(s) would not trigger this inspection:

Option Explicit
Public Foo As Long


Back to List