Variables declared without the explicit specification of a data type are Variants
. Variants can be inefficient to use because at each
interaction they are converted to the appropriate type for that interaction. Variants may be required for COM interactions, but even then their type
should be specified explicitly.
Noncompliant code example
Dim Count
Dim Bool
Compliant solution
Dim Count As Integer
Dim Bool As Boolean