VBA Error in giving values after declaring the variable data type
You declare the variable data type, but what if you give the wrong value to that variable?
You will get the pop-up message with the type of error.
Related: Excel VBA common basic questions
Related: How to Record, Run and Save Macro
Related: VBA Example of Declaring a Variable With Data Types
Related: VBA Data Types of Variables
Written by: Kalpesh Agrawal (Actuarial Intern - IIB)