Option Explicit in VBA

One of the easiest ways to improve your VBA code is to include the statement Option Explicit as the first line of each module within a VBA Project. The statement forces all variables to be declared in some manner before they can be used. It might not sound important to declare all variables and most of…