Peter has attended:
Excel VBA Intro Intermediate course
Variables
If you create a variable as an integer and try to define text in the variable will an error occur?
RE: Variables
Yes.
If you want to allow varying types of data in a variable, do not declare a type. It will then accept any data.