PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Setup .Find method returns "Invalid use of object" error

Reply

.Find method returns "Invalid use of object" error

 
Thread Tools Rate Thread
Old 04-05-2004, 11:42 AM   #1
Nikolay
Guest
 
Posts: n/a
Default .Find method returns "Invalid use of object" error


Hi,
I solved similar problem by choosing the correct reference.
From Excel Alt+F11 (starts VBEditor), Tools, Refferences.
Compare the references with the analogical in the working
computers.

Nikolay
npt@uni-sz.bg


>-----Original Message-----
>Hi,
>
> I was looking for a Excel VBA forum but didnt find

any here. So, I am posting my query in this forum.
>
> I have an Excel VBA application that has run into

trouble in one particular user's PC. The program fails at
a point where I am doing a recordset.find and the error
is "Invalid use of object". If I type in
err.desc/err.number in the immediate window, there are no
errors, but if I let the program execute, it throws
the "Invalid use of object" message. The recordset has
records. This app is working fine on all PCs except this
one.
>
> Any help would be appreciated.
>
>Thanks in advance.....
>.
>

  Reply With Quote
Old 04-05-2004, 05:41 PM   #2
=?Utf-8?B?Ym8=?=
Guest
 
Posts: n/a
Default RE: .Find method returns "Invalid use of object" error

Hi Nikolay
I did compare all the references, etc. And they are correct.

Could this have something to do with ADO itself? Myabe I need to re-install MDAC

Rgds...
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off