CopyToRecordSet Question For Xcel '97

Rogie

New Member
Joined
Oct 24, 2005
Messages
31
Does the CopyToRecordset Method works in Excel 97? Most of my users are using Excel 97 as of the moment, and creating an Excel workbook that sends statistics of a project to a central Access Database via network. I tried to use the CopyToRecordset method to get the statistics of a project if its statistics have already been sent to the database. I got the error "Class doesn't support Automation". Did I do something wrong?

If not, maybe you could suggest a way for me to check if the statistics of a project have already been written to that database and prompt them if they want to overwrite/update it, using only Excel 97. . . or should I just wait for them to get their new PCs with Windows XP (in 2010)? hehe.

Thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
Excel 97 does not support the CopyFromRecordset method for ADO connections, but does for DAO connections. Annoying isn't it? I was forced to use DAO when I wanted to link up to an Access database because of this limitation (although I am no longer using Excel97).

Best regards

Richard
 
Upvote 0

Rogie

New Member
Joined
Oct 24, 2005
Messages
31
So this means I have to learn DAO also? I know its probably here somewhere but can someone point me where can i have a reference for DAO? Also would DAO work for Excel 2000 to 2003? Thanks again
 
Upvote 0

Rogie

New Member
Joined
Oct 24, 2005
Messages
31
:( Just found out that DAO is really different from ADO. You're right Parsnip. . . it is annoying. I wish the new PCs come already! :LOL:
 
Upvote 0

Forum statistics

Threads
1,195,962
Messages
6,012,585
Members
441,713
Latest member
Dave353

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top