You can also use ADO Schema Views. This is kind of like the Schema Views in SQL Server.
Dim cn As New ADODB.Connection
Dim rs As New ADODB.Recordset, rs2 As New ADODB.Recordset
Set cn = CurrentProject.Connection
Set rs = cn.OpenSchema(adSchemaTables, _
Array(Empty, Empty, Empty, "table"

)
While Not rs.EOF
Debug.Print rs!table_name
Set rs2 = cn.OpenSchema(adSchemaColumns, _
Array(Empty, Empty, "" & rs!table_name & ""

)
While Not rs2.EOF
Debug.Print " " & rs2!column_name
rs2.MoveNext
Wend
rs.MoveNext
Wend
rs.Close
rs2.Close
Set rs = Nothing
Set rs2 = Nothing
Set cn = Nothing