I write the following line:
Dim rs As ADODB.connection

and that is what i get:"User-Defined Type not defined"

how do i define my adodb connection and recordset so i can use them