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

carlos

ResolvedVersion 2003

Willem has attended:
Excel VBA Intro Intermediate course
Excel VBA Intro Intermediate course

Carlos

what is a variable

Edited on Mon 2 Feb 2009, 10:04

RE: Variable Declaration

Hi Willem

A Variable is a name used to represent a value in VBA.

They represent values that may change during the procedure and identify a unique location in memory.

The syntax is Dim/Public/Private VariableName [As type]. eg:

Public SalesPerson As String

Hope this helps

Carlos

Mon 9 Feb 2009: 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:

Adding date and time

Here are two quick ways to add the date and time to your spreadsheet:

1) Type =NOW(), which displays both date and time in the same cell
or
2) Hold Ctrl and type the colon (:) into one cell for the date and the semi-colon(;)into another for the time.

Note that =NOW() updates to the current date/time whenever the spreadsheet recalculates.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.