vba

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

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VBA

VBA

resolvedResolved · Low Priority · Version 2003

Ashley has attended:
Excel VBA Intro Intermediate course

VBA

What is a variable?

Variables

Hi Ashley

A Variable is a name that is used to represent a value. Variables are mainly used to represent values that are likely to change during a procedure.

The variable name identifies a unique location in memory where a value may be stored temporarily.

A variable can be declared using the Dim statement as shown below:

Dim MyName As String

It is important to always indicate the data type of the variable.

Hope this helps

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.


 

Excel tip:

Go to source of a cell

The default setting in Excel is when you double click in a cell it actives the formula in the cell. If you have created a link and want to directly go to that link (say if on another sheet, click on Tools -options and take off the tick for eidt it directly in cell

View all Excel hints and tips


Server loaded in 0.08 secs.