Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

vba training london - variable and varient

Forum home » Delegate support and help forum » Microsoft VBA Training and help » vba training london - Variable and Varient

vba training london - Variable and Varient

ResolvedVersion Standard

Thomas has attended:
Excel VBA Intro Intermediate course
Excel Advanced course

Variable and Varient

What is the difference between a variable and a varient?

RE: Variable and Varient

Hi Thomas

A Variable is a place to store a piece of information in the computer's memory.

Just as you might store a person's telephone number in your memory, you can store information in a computer's memory. Variables are a way of accessing the computer's memory and setting aside memory space to store the information.

A Variant is essentially a universal data type.

It can contain any kind of information internally, and represent any data type

Regards

Carlos

 

Training courses

Training information:

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
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

VBA tip:

Count the Rows and Columns in a Selection

If you need to count the number of rows or columns in a worksheet use the following code:

Selection.Rows.Count - Returns the number of rows in the selection

Selection.Columns.Count - Returns the number of columns in the selection

Selection.CurrentRegion.Rows.Count - Returns the number of rows in the current region of the selection

View all VBA hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.