kool_jaysmiles
New Member
- Joined
- Aug 11, 2011
- Messages
- 2
I have created a macro which is to find an excat match in the column. It works for other seasons except fall. Can you please help. This is the error message that I get."Object Variable or with block variable not set”. The debugger shows the error here:
Selection.Find(What:="B", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=_
False, SearchFormat:=False).Activate
I tried changing (LookAt_:=xlPart ) the part to whole, but does not work. I can send over the sheets if someone can help.
Selection.Find(What:="B", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=_
False, SearchFormat:=False).Activate
I tried changing (LookAt_:=xlPart ) the part to whole, but does not work. I can send over the sheets if someone can help.