Forum home » Delegate support and help forum » Microsoft Excel Training and help » Variables
Variables
Resolved · Low Priority · Version Standard
Wendy has attended:
Excel VBA Intro Intermediate course
Variables
What is the difference between a variant and a variable
For upcoming training course dates see: Pricing & availability
RE: Variables
Hi Wendy
Thankyou for your question
A variable is anything that you define at the start of a module or procedure, the value of which will vary throughout the execution of your code.
Variables can be of a range of different types which specify the type of data they can hold. String variables can hold text and numbers, while Byte can only hold numbers in the range 0-255.
Variant is a type of variable. It is a catch all and can hold numeric as well as text and date data.
Hope this is useful
Regards
Stephen
|
