LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Determining the Cell Address of a VLOOKUP Result in VBA

I'm currently implementing a user form that is meant to add new rows
or update existing rows on a worksheet. I'm currently using a VLookup
to determine if the item I want to add already exists on the
worksheet, and if it does, I'm loading the row information with
additional VLookups. The problem is, I need to be able to get back to
this source row in order to update it with any changes made to the
data in the user form. Does anyone have any suggestions as to how I
might be able to determine the row number or address of the cell that
is identified by the vlookup function? (I have enumerated constants
defined to handle my columns).

I should probably point out that I need to do this all in VBA. I
realize that I could store the address in a cell in the row and load
it into a variable when I load the rest of the rows data, but I'd
prefer to only store relevant data in the row and handle this
programmatically.

Thanks in advance for any help.
JR

 
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
USING VLOOKUP TO RETURN A CELL ADDRESS psych142 Excel Worksheet Functions 5 December 8th 08 01:04 AM
vlookup shows result one cell above the expected result Marie Excel Worksheet Functions 7 November 14th 06 02:52 AM
retreiving cell address of vlookup value amyc Excel Worksheet Functions 2 June 7th 06 08:09 PM
How do I get the cell address of a VLOOKUP reference? tfleischny Excel Worksheet Functions 4 January 4th 06 11:16 PM
Using result from ADDRESS function as a cell reference itself LShutzberg Excel Worksheet Functions 3 December 12th 04 11:18 AM


All times are GMT +1. The time now is 12:51 AM.

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"