98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » VBA
VBA
Resolved · Low Priority · Version Standard
Stuart has attended:
Excel VBA Intro Intermediate course
VBA
what is the difference between a variable and a variant?
RE: VBA
Hi Stuart
A Variable is used to store temporary information that is used for execution within the Macro or Module
On the other hand a Variant is a Variable Data type.
Id the Variable is declared without a data type the computer defaults the data type to Variant.
Hope this helps
Carlos
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Separate the year from a dateTo separate the year from a date use the =year() function, eg a date is in cell A1 and in A2 you wish to display the year enter the function =year(A1) |