bigracefan
Programmer
I'm trying to read an excel sheet to see if a value exists. If it does I want to increment an adjacent cell, if it doesn't exist I want to add it. I've been trying to use
.Cells.Find(What:=fTestName, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False).Active
But I get an object variable error or with block variable not set.
Thanks.
.Cells.Find(What:=fTestName, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False).Active
But I get an object variable error or with block variable not set.
Thanks.