G
Guest
I am importing Excel data into an Access database, and everything is working.
I am using "DoCmd.DoMenuItem acFormBar, acFile, 2, 1" to start the import in
a module.
The problem is that the file open dialog defaults to "my Documents" and a
file fomat of "mdb", and I have to wade through a number of folders and
manually select the file format before I can import the data every time. I
have not found a way that I can set the path to the data and the file format
for the above command. Is there a way to do that, or is there a different way
to start the import in a module?
I am using "DoCmd.DoMenuItem acFormBar, acFile, 2, 1" to start the import in
a module.
The problem is that the file open dialog defaults to "my Documents" and a
file fomat of "mdb", and I have to wade through a number of folders and
manually select the file format before I can import the data every time. I
have not found a way that I can set the path to the data and the file format
for the above command. Is there a way to do that, or is there a different way
to start the import in a module?