I am looking for a Vlookup macro between two sheets. But every time the rows in sheet 2 will differ. So looking for a vlookup with dynamic range...
Regards,
Vijay
I am looking for a Vlookup macro between two sheets. But every time the rows in sheet 2 will differ. So looking for a vlookup with dynamic range...
Regards,
Vijay
Hi,
In the Excel Application create a dynamic range name for the rows. See here http://www.contextures.com/xlnames01.html#Dynamic if you need help to do this.
Then just use the dynamic range name in your macro code.
Regards
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star iconbelow the post.
Hi,
I am looking for a macro to copy and paste the formula till the last row.
I am trying to concatenate column and A and B and the formula entered in column C should get copied and pasted till the last row in column B.
Regards,
Vijay
Last edited by vijanand1279; 01-06-2011 at 10:53 AM. Reason: Solved
Hi,
Untested but
Change the sheet ref as appropriate.![]()
Please Login or Register to view this content.
Please note that this is nothing to do with a VLOOKUP. Your original post didn't describe the actual requirement.
Rgds
Duplicate post:
http://www.excelforum.com/excel-gene...-last-row.html
The formula on the Column C is copied and pasted only the last row but not on all the rows untill last rows.
[SOLVED]
Last edited by vijanand1279; 01-06-2011 at 10:55 AM.
Hi,
That's exactly what my solution does.
If you think any different then please upload an example workbook showing a before and after position which shows exactly what you want, otherwise we are destined to go round in circles.
Rgds
Will you read the Forum Rules
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks