For Each T in CurrentDB.TableDefs
TableList = TableList & T.Name & Chr(13)
Next
MsgBox TableList
End Sub
(This will return the table list as a message box, which I think is more
readable if you're interacting with forms. It will also list ALL tables,
including system tables. To edit those out of the list, use the
Attributes table property.)
Slightly off-topic follow-up: I'm wondering if there's any way to run
the Documentor programmatically...seems like it ought to be doable.
Thoughts?