Dim Cxn As ADODB.Connection
Dim AdoS As ADODB.Recordset
Dim CxnFac As String
Set Cxn = New Connection
Cxn.CursorLocation = adUseClient
CxnFac = "Driver={MySQL ODBC 3.51 Driver};Server=NOMBRE_DEL_SERVIDOR;Port=3306;Option=131072;Stmt=;Database=NOMBRE_DE_LA_BD;Uid=USUARIO;Pwd=TU_CONTRASEÑA;"
Cxn.Open CxnFac ' Abrimos la conexion
Set AdoS = New Recordset
AdoS.Open "Select * From clientes", Cxn, adOpenStatic, adLockOptimistic
MsgBox AdoS.Fields("nombre")