import from excel file

  • Thread starter Thread starter JIM.H.
  • Start date Start date
J

JIM.H.

Hello,
I am trying to open an excel file (csv file and name is
changing all the times) and import data into a table in
Access. I was planning to create a table link to the file
in my module and run an append query and delete the link.
However I do not know if I can create table link in the
module automatically, can I do that? Or is there any other
way to accomplish appending from a csv file?
Thanks,
Jim.
 
Hello,
I am trying to open an excel file (csv file and name is
changing all the times) and import data into a table in
Access. I was planning to create a table link to the file
in my module and run an append query and delete the link.
However I do not know if I can create table link in the
module automatically, can I do that? Or is there any other
way to accomplish appending from a csv file?
Thanks,
Jim.

Take a look at the VBA online help for TransferText. (A .csv file can
be viewed from Excel, but it's not actually a spreadsheet, but rather
a text file).

John W. Vinson[MVP]
(no longer chatting for now)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top