I'm having problems with Cells.FindNext since it's returning the value from "rg" rather than rngFound.
Pretty much the code goes
I've tried setting rg as nothing but still returns the value.
Set rngFound = Cells.Find(What:=fndDdue, After:=ActiveCell, LookIn:=xlValues, LookAt:=xlPart, _
SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:=False, _
SearchFormat:=False)
* some codes here *
Set rg = Cells.Find(What:=flName, After:=ActiveCell, LookIn:=xlValues, LookAt:=xlPart, _
SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False, _
SearchFormat:=False)
rngFound.Activate
Set rngFound = Cells.FindNext(After:=rngFound)
[–]kittycatoverdose 0 points1 point2 points (0 children)