How to Automatically import a daily Excel file to an Access table as the Excel file is added, then distribute via email.

Hello Experts,

I have been tasked with creating a daily report.  I would like to automate the entire process, if possible.  I'm talking about not touching it at all once it is set up!  If guided, I am fairly comfortable using macros and VBA.

1)  I would like my Access database to automatically import an excel file to tbl1 as the file is published daily to a server folder. The file names are date based (Report100313.xls, Report100413.xls, etc).  

2)  Upon successful import, I would like a cross-tab query I have built to run and export out to an email distribution automatically.   Sidenote: Is there a way to make the crosstab query include subtotals for each row and column?  

4)  Upon successful distribution, I would like the records in tbl1 to be deleted automatically in order to keep a clean database ready to go for the next day's report.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeffrey CoachmanMIS LiasonCommented:
Please be aware that what you have asked for here amounts to a "Full Project"...

This is a great deal more than a single question requiring a single straightforward "Answer"...

The best way to generate interest in your questions would be to, request that this Q be deleted,
Then post each of the 4 bullets as separate, sequential questions...



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dominator1025Author Commented:
Will do. Thanks Jeff.
Jeffrey CoachmanMIS LiasonCommented:
And just to be clear, everything you have asked for here is fairly basic.
But taken as a whole, sometimes multi-part questions like this sometimes scares off experts because the scope is so broad.

I hope to see you in one of your follow up questions...

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.