For Each ao In CurrentData.AllTables
If Left(ao.Name, 4) <> "MSys" Then
Debug.Print ao.Name
End If
Next ao
If you're using Access 97:
Dim db As Database
Dim tdf As TableDef
Set db = CurrentDb
For Each tdf In db.TableDefs
If Left(tdf.Name, 4) <> "MSys" Then
Debug.Print tdf.Name
End If
Next tdf
Set db = Nothing
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.