Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Cannot access ADO help file in VBE

Hi,

I am having the following problem:
1) I tried to access the ADO link under the "What's New for Microsoft Excel
2000 Developers", but I get "Help Topic Not Available", I tried installing
the VBA Help file from Office 2000 Professional again....nothing change.
2)I' m trying a new way to connect to a database, e.g.;
New:
Dim objConn As ADODB.Connection
Set objConn = New ADODB.Connection

Old:
Set Conn = CreateObject("ADODB.Conection")
Conn.Open strDB

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?????????

I can't use ADODB object why?

Hope this info help: Excel 2000 (9.0.3821 SR-1)
Thanks for the help in advance
  #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.

--
Reply
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 06:54 AM.

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

About Us

"It's about Microsoft Excel"