Do you have to use Dim to declare variables?
28 June 2017
When looking at other people's VBA code in books or on the internet we often see the
Dim statement being used to declare variables.
It is possible to write valid VBA code without declaring variables, so why bother?
This blog discusses the advantages and disadvantages of declaring variables in VBA.