vba vlookups
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 Excel VBA Training and help » VBA - vlookups

VBA - vlookups

resolvedResolved · Medium Priority · Version 2007

replyReply Tue 31 Mar 2009, 16:39Delegate Varuni said...

Varuni has attended:
Excel VBA Intro Intermediate course

VBA - vlookups

Can you use vlookups within VBA - at the moment i dont use VBA, just use combinations of vlookup etc in excel to get what i want.

For upcoming training course dates see: Pricing & availability

replyReply Thu 9 Apr 2009, 10:28Trainer Simon said...

RE: VBA - vlookups

Hi Varuni,

Thank you for your question.

The Vlookup worksheet function is available under the WorksheetFunction object in VBA.

You can use most built-in worksheet functions in a macro by calling the function as a method of the Application object or the WorksheetFunction object. So if you are trying to create a Vlookup then type:

worksheetfunction.vlookup(then the arguments)

I hope this answers your question.

Regards

Simon

replyReply Wed 15 Apr 2009, 09:34Trainer Simon said...

RE: VBA - vlookups

Hi Varuni,

Thank you for your question. Your question about using Vlookups in VBA.

I replied to you early April with the following text:
---------------------------------------------------------------------
Hi Varuni,

Thank you for your question.

The Vlookup worksheet function is available under the WorksheetFunction object in VBA.

You can use most built-in worksheet functions in a macro by calling the function as a method of the Application object or the WorksheetFunction object. So if you are trying to create a Vlookup then type:

worksheetfunction.vlookup(then the arguments)

I hope this answers your question.

Regards

Simon
-----------------------------------------------------------------------

Can I confirm whether this response has answered your question?

Regards

Simon

Tue 21 Apr 2009: Automatically marked as resolved.

 

Please browse our web site to find out more about
excel training onsite and other Microsoft training courses.

Excel tip:

Closing all your workbooks Quickly

Hold the SHIFT key down and using the mouse click on the file menu, it will now now CLOSE ALL rather than close. This closes all workbooks down but still leaves the application open.

View all Excel 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