View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ina ina is offline
external usenet poster
 
Posts: 120
Default compile error... ADODB connection

Hello all,

I have a problem with the ADODB connection... and I do not understand
because yesteday worked fine and today not.

I have this mistake ...

compile error, User-defined type not defined

This is my code

Sub test()

'---------------------------------------
'Connection to sql server
'---------------------------------------
'Set up a connection
Set Cnx = New ADODB.Connection

Dim cmd As ADODB.Command ...

Thanks,

ina