Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automating Import Files

Status
Not open for further replies.

henley12

Programmer
Mar 26, 2004
17
0
0
US
I have a database which gets updated every month via an Excel CSV file. Is there a way to automate the import process so that I can press a button and it will allow me to browse for the filename to select for import? I have an import specification created and the data is going to the same table every time.
 
the application object allows for a file dialog. Search this site for code to implement this. Then using the filename use the docmd.transferspreasheet command to import the data from the file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top