sub procedures

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 » Sub procedures

Sub procedures

resolvedResolved · Low Priority · Version 2003

Rabi has attended:
Excel VBA Intro Intermediate course

Sub procedures

What is a variant?

RE: sub procedures

Hi Rabi, thanks for the query. A variant is a data type. When you declare your variables at the start of your code remember that you declare their type as well, e.g. text, boolean, value etc. When you set you data type to be variant it can be any data type. You'd use it when you don't initially know the type of data the variable will hold, or when you expect it you contain multiple data types.

Hope this helps,

Anthony

Wed 15 Jul 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:

Removing the Ribbon from view in Excel 2010

At times when you want to view the whole spreadsheet, try double clicking on the ''Home'' tab on the ribbon which will hide the ribbon from view.

View all Excel hints and tips


Server loaded in 0.07 secs.