Hi all,
I want to search the value: Myword in column E and want to do an offset. I want to get the address of the cell, for example E8. And from here i want to do an offset (-4, 0), which is = A8. I have tried several things but without success, below an example:
Any idea? Is there a need to declare range variables?
I want to search the value: Myword in column E and want to do an offset. I want to get the address of the cell, for example E8. And from here i want to do an offset (-4, 0), which is = A8. I have tried several things but without success, below an example:
Code:
Cells.Find(What:="Myword", After:=ActiveCell, LookIn:=xlValues, LookAt _
:=xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(-4, 0)
Any idea? Is there a need to declare range variables?