D Dave Dawson Jun 14, 2005 #1 Can anyone tell me why the following would generate a "User-Defined type not defined" error? Dim cnnFLDCW As ADODB.Connection Dave
Can anyone tell me why the following would generate a "User-Defined type not defined" error? Dim cnnFLDCW As ADODB.Connection Dave
B Brendan Reynolds Jun 14, 2005 #2 Probably you don't have a reference to the ADO object library. In the VBA editor, choose References from the Tools menu and look for "Microsoft ActiveX Data Objects <version number here> Library"
Probably you don't have a reference to the ADO object library. In the VBA editor, choose References from the Tools menu and look for "Microsoft ActiveX Data Objects <version number here> Library"