Question: what is the difference between variable and data type?
Answer: Variables and Data Types. A variable can be thought of as a memory location that can hold values of a specific type. The value in a variable may change during the life of the program—hence the name “variable.” In VBA, each variable has a specific data type, which indicates which type of data it may hold.