#1   Report Post  
Posted to microsoft.public.excel.misc
Lanman6
 
Posts: n/a
Default Excel lookup macro

Does anyone have a simple lookup macro for Excel
  #2   Report Post  
Posted to microsoft.public.excel.misc
PDUK1
 
Posts: n/a
Default Excel lookup macro

Hi there

ActiveCell.FormulaR1C1 = "=VLOOKUP(RC[-1],Sheet2!RC[-1]:R[3]C,2,FALSE)"

This does a vlookup from sheet1 and sheet2.

HTH

Peter
"Lanman6" wrote:

Does anyone have a simple lookup macro for Excel

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
Excel Macro - change printer Samrcat Excel Discussion (Misc queries) 14 June 28th 06 05:47 PM
Relative Ranges in excel macro edself Excel Discussion (Misc queries) 6 October 13th 05 02:02 PM
Relative Ranges in excel macro edself Excel Worksheet Functions 6 October 13th 05 02:02 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Lookup Access data in Excel Chris Kellock Excel Worksheet Functions 1 December 28th 04 01:51 PM


All times are GMT +1. The time now is 10:38 PM.

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

About Us

"It's about Microsoft Excel"