B
Bob
Hi all,
I am trying to import a file (which will be different each time, so
cannot use transfertext/transferspreadsheet etc) through a command
button on a form. Currently I have command button that starts the
text import wizard as follows:
CommandBars("Menu Bar"). _
Controls("File"). _
Controls("Get External Data"). _
Controls("Import..."). _
accDoDefaultAction
and it works great, however my problem is that I cannot record the
filename and pathname of the file that has been imported to and the
table it has created so I can put it in my file import log. How would
I record that information?
Regards,
Bob.
I am trying to import a file (which will be different each time, so
cannot use transfertext/transferspreadsheet etc) through a command
button on a form. Currently I have command button that starts the
text import wizard as follows:
CommandBars("Menu Bar"). _
Controls("File"). _
Controls("Get External Data"). _
Controls("Import..."). _
accDoDefaultAction
and it works great, however my problem is that I cannot record the
filename and pathname of the file that has been imported to and the
table it has created so I can put it in my file import log. How would
I record that information?
Regards,
Bob.