vba courses london - list variables
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft VBA Training and help » vba courses london - List of variables

vba courses london - List of variables

resolvedResolved · Low Priority · Version Standard

replyReply Fri 23 Feb 2007, 15:59Delegate Marie said...

Marie has attended:
Excel VBA Intro Intermediate course

List of variables

is there any easy way of pulling out a list of all your public/private variables you've entered in your code? (so you can see what you've done without having to go into the code)

For upcoming training course dates see: Pricing & availability

replyReply Thu 1 Mar 2007, 17:08Trainer David said...

Excel VBA varibles

Hi Marie

As far as know there is no way to do exactly what you asked. However you can write a piece of code after each of the variables and get it to print out a useful message, ie variable name and purpose. You could get it to print out to a a form or word doc or text file or to excel itself.

Hope this helps
David

 

Vba tip:

Count the Rows and Columns in a Selection

If you need to count the number of rows or columns in a worksheet use the following code:

Selection.Rows.Count - Returns the number of rows in the selection

Selection.Columns.Count - Returns the number of columns in the selection

Selection.CurrentRegion.Rows.Count - Returns the number of rows in the current region of the selection

View all VBA hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard