variable

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

Variable

resolvedResolved · Low Priority · Version 2007

David has attended:
Excel VBA Intro Intermediate course

Variable

What is a Variable?

RE: Variable

Hi David

Thanks for your question

A variable is an area of memory used to store a piece of data.

When a value is passed to a procedure, either via keyboard or as the result of a calculation, it must be stored in a variable. Before passing a value to a variable it is essential that the variable is first "declared". At this point the type of data that the variable will accept is also specified, e.g.

 Dim MyVariable as string"


This creates a variable that will take string data.

Regards

Stephen

Thu 22 Jul 2010: Automatically marked as resolved.

 

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:

Move or Highlight Cells

Use any of your movement keys, cursor, Home, End, PgUp or PgDn to highlight cells rows or columns by holding down the Shift key as you move.

Use in combination with the Ctrl key for quicker movements.

View all Excel hints and tips


Server loaded in 0.08 secs.