Link to Access broke

Mr930

Well-known Member
Joined
Aug 31, 2006
Messages
585
I have been working with a spreadsheet which extracts data from an Access .mdb. I have had no trouble, and now all of a sudden I get an error:

"user-defined type not defined"

on this line:

Dim DBConnection As ADODB.Connection

Something must have happened to my setup, but I can't tell what. Anybody know what this error means?

thanks
Fred Emmerich
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
I looked at that and there are several options for MS Active X data objects, none of them were checked. I checked the one that said 6.0 and everything seems to be back to normal. I wonder how it came unchecked?? Is this a setting for the spreadsheet or for Excel itself? I did modify this file on another machine recently, would that cause something like this to occur?

Either way, I am back in business!

thanks for the help
Fred EMmerich
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,334
Members
452,907
Latest member
Roland Deschain

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
Back
Top