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

VBA

resolvedResolved · Low Priority · Version 2003

replyReply Tue 23 Mar 2010, 15:55Delegate Hiren said...

Hiren has attended:
Excel VBA Intro Intermediate course

VBA

Can you code Vlook ups ?


thanks

H

For upcoming training course dates see: Pricing & availability

replyReply Mon 29 Mar 2010, 08:15Trainer Stephen said...

RE: VBA

Hi Hiren

Thanks for your question

You can indeed code vlookups. They are included in the application object's worksheet functions collection. You type the keyword followed by the function's arguments

For example

application.worksheetfunction.vlookup("A1","C1:H5",3,False)

Hope this is useful

Regards

Stephen

Sun 4 Apr 2010: Automatically marked as resolved.

 

Please browse our web site to find out more about
access class ms training and other Microsoft training courses.

Access tip:

Open A Combo Box Automatically

This is helpful if users need to enter large amounts of data. There are two ways to open ComboBoxes when they get the focus by using the tab keys.

When the ComboBox gets focus:

Press Alt + Down Arrow on the keyboard

For it to happen automatically, needs a bit of coding:

1. Add a combo box and a text box control to the form
2. Set the combo box's On Got Focus property to the following event procedure:

Private Sub ComboBoxName _GotFocus()

Me!ComboBoxName.Dropdown

End Sub


3. Open your form in Form View and use the TAB key to make sure it works.

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