When I Debug this line I get this error: […] (Code, 1 line)
Aug 25th 2012 #1 When I Debug this line I get this error: Quote "Compile Error: User-defined type not defined" Code Dim conn As New ADODB.Connection
Aug 25th 2012 #2 Re: User-defined type not definedhellohave you added the reference LibraryMicrosoft ActiveX Data Objects (ADO) Code Dim conn As ADODB.Connection Set conn = New ADODB.Connection