Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CopyFromRecordset Action -> Error 430 on some machines 2

Status
Not open for further replies.

VBAinspire

Programmer
Aug 8, 2001
10
0
0
US
I am using the following VBA code to transfer recorset data from Access to Excel:

rstNew = New ADODB.Recordset
xlBook.Worksheets(1).Range(B2).CopyFromRecordset rstNew

On some machines, it works perfectly. On others, it crashes with the following error:

Run-time Error 430 - "Class does not support Automation or does not support expected interface."

Any ideas on what could be causing the problem and how to fix it?

 
I checked the Visual Basic forumn via Google and go the followinig anwser.

quote
u need to install MDAC 2.6/2.7...

I faced same problem
-sachya

unquote

Apparently the 98SE machine has a MDAC that is too old. I believe this is free from Uncle Bill's website aka Microsoft.com


rollie@bwsys.net
 
I checked out a VB forum thru google and found the following

quote

unquote u need to install MDAC 2.6/2.7...

I faced same problem
-sachya


rollie@bwsys.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top