devenderkush1983
New Member
- Joined
- Feb 26, 2019
- Messages
- 1
Hi All,
I am trying to search for a particular value in a range but want to exclude a particular cell from this range as well as search. Following is my code
range:
cell that needs to be excluded from the range and search :
Thanks,
Dev
I am trying to search for a particular value in a range but want to exclude a particular cell from this range as well as search. Following is my code
range:
Code:
Set FoundCell = ws.Range("A1:F" & lastRow).Find(What:=WHAT_TO_FIND)
cell that needs to be excluded from the range and search :
Code:
ws.Cells(found_row, found_par_col)
Thanks,
Dev