Hola, mi duda es la siguiente: ¿Como puedo sacar el numero y nombre de las tablas de una base de datos con ADO? Ej. 1 ----------------------------------------- Sub ADOListTables() Dim cat As New ADOX.Catalog Dim tbl As ADOX.Table ' Open the catalog cat.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=.\NorthWind.mdb;" ' Loop through the tables in the database and print their name For Each tbl In cat.Tables If tbl.Type <> "VIEW" Then Debug.Print tbl.Name Next End Sub Ej. 2 ----------------------------------------- Sub ADOListTables2() Dim cnn As New ADODB.Connection Dim rst As ADODB.Recordset ' Open the connection cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=.\NorthWind.mdb;" ' Open the tables schema rowset Set rst = cnn.OpenSchema(adSchemaTables) ' Loop through the results and print ' the names in the debug window Do Until rst.EOF If rst.Fields("TABLE_TYPE") <> "VIEW" Then Debug.Print rst.Fields("TABLE_NAME") End If rst.MoveNext Loop