I am trying to VLOOKUP some value in 2 sheets and if the value is found then i am putting a hyperlink on the Sheet 1 cell to point it to the Sheet 2 cell.
I have written an Excel formula for the same and it is working fine. But i am unable to convert it into a VBA formula. I tried many combinations, but i am unable to understand what i am doing wrong.
Excel formula:
VBA formula which i have tried:
P.S.: Do not worry about the row and column indexes. I wrote the formula for test file and writing the vba for the master file.
Bookmarks