Multiple Excel import to Access

E

Ernesto

Hello all,
I'm a newbee on this site. And I have limited code writing experience.
But I've been assigned a task that I think you all could help me out
with.

I need to achieve some data. The data will be saved in Excel files. I
need to import that data into Access. Here's what i was thinking:
1. Save in one central location.
2. Have access import the files from there automatically.

is that possible? Here is the descbrition of the files. Excel file will
have contain an "Input" tab where user input data. Then I have a Macro
which creates a flat file which I would like to upload to Access. The
thing is that there may be a varity of files. (LOTS!!) With different
names. Is there any way to automate that on a monthly basis?

thanks!
 
G

Guest

If you want to automate the process, you will need to write some code. While
we may not do that for you, we can help guide you through the process.

What you need to do is pick a directory and put your files in it. Loop
through that directory, checking for the existance of Excel files. When you
find them, begin using TransferSpreadsheet to copy the data to the relevant
table in your database. Once your code is satisfied that the data is there,
you can delete the spreadsheet and move to the next.

You can also use either TransferSpreadsheet or OutputTo to move the data
back into Excel for purposes of distribution.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 
A

aaron.kempf

well.. you could use Access MACROs right??

that wouldn't involve coding.

I love macros.
 

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

Top