LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 593
Default Cannot access ADO help file in VBE

"augustus" wrote ...

Dim objConn As ADODB.Connection
Set objConn = New ADODB.Connection


I checked the Reference, the Microsoft ActiveX Data Objects Recordset 2.7
Library has got a tick. But I get "User-defined type not defined" for the new
method, why?????????


Look at the classes in the Object Browser: you've referenced ADOR
rather than ADODB. Try checking ActiveX Data Objects 2.7 Library.

Jamie.

--
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to create XL file then run XL VBA (to format & filter XL file) from Access VBA? [email protected] Excel Discussion (Misc queries) 1 June 6th 08 06:37 AM
file access Wilby Excel Discussion (Misc queries) 0 April 27th 06 01:54 PM
Cannot save Project file as MS Access file Jumpinjackflash Excel Discussion (Misc queries) 1 January 11th 06 11:35 PM
File Access MAB Excel Discussion (Misc queries) 0 December 13th 05 03:56 PM
Cannot access a file -- HELP Steve Excel Discussion (Misc queries) 2 June 15th 05 08:05 PM


All times are GMT +1. The time now is 01:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"