Hi
I've got a macro that searches column A for a specific text then moves across to column D to copy the data in the cell. The vb script looks like this:
However, the search might not always find the specific text in row 22 but will always copy the data from column D. Is there a way to change the script to use the current/active row after the search instead of using row 22?
Thanks
Matt
I've got a macro that searches column A for a specific text then moves across to column D to copy the data in the cell. The vb script looks like this:
Code:
Range("D22").Select
However, the search might not always find the specific text in row 22 but will always copy the data from column D. Is there a way to change the script to use the current/active row after the search instead of using row 22?
Thanks
Matt