variable

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 » Variable

Variable

resolvedResolved · Low Priority · Version 2003

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

Variable

What is variable?

RE: Variable

Hi Eva

A variable is a name used to represent a value. It is used to hold temporary values needed in the running of the VBA code.

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

The syntax is Dim VariableName As Type eg

Dim UserName as String


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.


 

Excel tip:

Pivot table grouping

If you want to group items in a pivot table together, simply highlight the labels for the fields either with the shift key (if adjacent)or with the contral key if they are not next to each other.
Right click and choose group. Give the cell a name.

When you double click on this cell it will either expamd or collapse your grouped area

View all Excel hints and tips


Server loaded in 0.08 secs.