I do not see any code to import a new table from the text file that is created from the custom function.
Consider the following
Code:
'SaveAsText does not work for tables - Use custom Function
strTablesPath = strPath 'Do not Delete this - strPath is changed by PAWTablesDocument
If Not PAWTablesDocument(strTablesPath) Then
MsgBox "There was an error documenting the Tables.", vbCritical
End If
Docmd does not export the table defs and their properties, a custom function does that using DAO to retrieve the properties and format the retrieved data into its own version of a text file.
In order to create a table based on this text file you would have to read it line by line and use a technique, similar to the export technique, to create a table based on the definitions contained in the text file.