Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default what is the VBA code for VLOOKUP?

Hi all,
i'm a newbie to excel...
i m looking for VBA code for VLOOKUP function anyone can help?
any good website recommend?


pls kindly help! thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default what is the VBA code for VLOOKUP?

Range("F12").Value = Application.VLookup(vVal, _
Worksheets("Sheet1").Range("A1:F500"), 2,False)

--
Regards,
Tom Ogilvy


"Shan" wrote in message
...
Hi all,
i'm a newbie to excel...
i m looking for VBA code for VLOOKUP function anyone can help?
any good website recommend?


pls kindly help! thanks!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default what is the VBA code for VLOOKUP?

Application..VLOKUP(Range("A1"),Range("H1:J100"),2 ,False)

as an example

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Shan" wrote in message
...
Hi all,
i'm a newbie to excel...
i m looking for VBA code for VLOOKUP function anyone can help?
any good website recommend?


pls kindly help! thanks!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup VBA code cluckers Excel Discussion (Misc queries) 16 August 19th 09 08:40 PM
VLOOKUP as a vb code Tdp Excel Discussion (Misc queries) 5 November 25th 08 10:01 PM
Using VLOOKUP in VBA code Mark Excel Worksheet Functions 2 August 18th 06 04:41 PM
Vlookup in VB code alekm Excel Programming 1 September 7th 04 10:53 AM
Help with Vlookup code Gareth[_3_] Excel Programming 0 November 19th 03 07:28 PM


All times are GMT +1. The time now is 09:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"