Error 2029 using Find XL 97

J

jonnyexcelneill

When using the find code in VB to find text in Excel The range returned is
error 2029..

Where Found is defined as a range..
The code is:

Set Found = look.Find(What:=FindTag(X - 1), LookIn:=xlFormulas,
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext,
MatchCase:=True)

Found gets returned Error 2029.. Which I cannot figure out.. It should
return nothing if it doesn't find it, and the cell of the first occurance if
it does..
ANY HELP WOULD BE GREATLY APPRECIATED!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top