Karen has attended:
Excel VBA Intro Intermediate course
Variables
How do you define a variable
RE: Variables
Karen
To define a variable you use the VBA word "Dim". For best practice you should also give it a Data Type. For example:
Dim MyVariable As String
The word Public can be used instead of Dim if the variable is being shared with other Modules or Forms.
Caarlos