ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How recover location with vlookup... (https://www.excelbanter.com/excel-programming/317019-how-recover-location-vlookup.html)

Iván[_2_]

How recover location with vlookup...
 
I need to recover the cell location using vlookup between two sheets. ie.
ActiveCell from actual worksheet, data_range i other worksheet(other file).

Application.VLookup(ActiveCell.Value,data_range, 1, True)

I need the cell location (in data_range) if the vlookup is OK.

thanks, Iván



Frank Kabel

How recover location with vlookup...
 
Hi
use Application.Match to get the row index

--
Regards
Frank Kabel
Frankfurt, Germany

"Iván" schrieb im Newsbeitrag
...
I need to recover the cell location using vlookup between two sheets.

ie.
ActiveCell from actual worksheet, data_range i other worksheet(other

file).

Application.VLookup(ActiveCell.Value,data_range, 1, True)

I need the cell location (in data_range) if the vlookup is OK.

thanks, Iván





All times are GMT +1. The time now is 03:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com