Example: I have selected any row and any column, let's say D6. The data I am looking for is in column H. So, I want the macro to copy the data in row 6, and column H, i.e. H6.
If I have selected G14, the macro shall copy the data in cell H14, etc.
|
Example: I have selected any row and any column, let's say D6. The data I am looking for is in column H. So, I want the macro to copy the data in row 6, and column H, i.e. H6. If I have selected G14, the macro shall copy the data in cell H14, etc. |
|||
|
|
call it on Worksheet_SelectionChange if you only want the value to use, just assign
to a variable and use it in your calculations and return where you will |
|||
|
|
|
I wrote a macro for that. It always copies the selected cell and pastes the data on column H at the same row.
|
|||
|
|
You've had a few days so may have reached an answer already, but extending the answer already suggestedn, I think the below will do what you ask:
|
|||
|