I don't know if AccessObject can tell you if the table is hidden, but ADO certainly can, for example,
Sub ShowAllTables2()
Dim cat
Set cat = CreateObject("ADOX.Catalog")
With cat
.ActiveConnection = CurrentProject.Connection
Dim t
For Each t In .tables
Debug.Print t.Name, t.Properties("Jet OLEDB:Table Hidden In Access").Value
Next
End With
End Sub
source
share