Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Scheduled Excel to Access Import Automate Daily
Monica Davis 
     
34 hours ago
Been looking at the courses and not finding what need.  Have macro that imports, cleans, and posts 5 Excel files daily with one-click of a button.  This requires me to go in and click it daily.  Trying to automate this with either VBA or Task Scheduler. Reading online many say VBA is better. I have probably just overlooked or not found them with my searching. Anyone know of any videos on here related to the automation of import piece?
Sandra Truax  @Reply  
         
34 hours ago
Monica Davis OP  @Reply  
     
33 hours ago
Sandra Thanks. Re-watched the video and I have all that part working. Trying now to automate it more so I don't have to open database and push the import button.
Juan Rivera  @Reply  
            
31 hours ago
try this
use on load to automate and docmd.quit to get out. use a shortcut on desktop click and go.
Richard Rost  @Reply  
          
29 hours ago
Sounds like you're almost at the finish line with automating your import process. You really have two solid options here. The first is to keep your Access database running all the time and use a timer loop in VBA to check if it's time to run the import. That way your process just happens automatically. That's exactly what I do in my own office for some background tasks, and it works well as long as you're okay with leaving Access open.

The other option, which is usually easier and doesn't require Access to be running all the time, is to use Windows Task Scheduler. You can set that up to open your database and trigger the macro or VBA routine on a set schedule - daily, hourly, whatever you need. Task Scheduler can run tasks even if you're not logged in, as long as the computer is turned on and the Windows service is running (sometimes folks turn it off, so just double-check it's enabled).

You might run into things like weird command-line parameters (like telling Access to open your database and run a macro automatically), but it's pretty straightforward once you've done it once or twice. I haven't made a video walking through Task Scheduler and Access yet but it's on my to-do list, and you're not the first person to ask.

Both options beat having to play button-pusher every morning like some sort of Starfleet ensign running diagnostics. Now, if only I could get it to automatically download stuff for me that I have to log in for, like my YouTube membership list and my PayPal sales for the day. That's something I still have to do manually every morning. Yeah, I know they probably could be automated, but from what I've seen, it's a lot of work. And right now I've got it down to logging in and clicking one button.
Matt Hall  @Reply  
          
25 hours ago
I set up the task scheduler to automatically copy an add-in to a folder that gets backed up regularly.  It was pretty straight forward and my batch file was simple.  

I kind of like Juan's idea.  You could make a start-up form, with a timer that runs the automation after a set period, giving you time to cancel it for times when you need to work in the database.  The batch file would only have to open the database.
Add a Reply Upload an Image
Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/29/2026 11:25:00 PM. PLT: 1s