Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Pending Approval    Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 

Anonymous 
 
Sami Shamma  @Reply  
             
2 years ago
Excel has no record locking. So, you will get this error instead of linking the Excel file, import it to an Access table. This will solve your problem.

Later, you will be able to automate the import. I do the same with my main database.
Tony Godfrey  @Reply  
     
2 years ago
Thank you for your assistance.  Is there a way to automate the refresh without opening the BackEnd file?
Sami Shamma  @Reply  
             
2 years ago
Yes.

The refresh happens from inside Access.
1) Go to External Data --> New Data Source --> From file --> Excel
2) browse for the file name
3) first option "Import the Source data
4) follow the prompts
5) Save the export

now in VBA code issue the command:

DoCmd.RunSavedImportExport "Import-ResultsCSV"

Import-ResultsCSV is the name of the saved Import.

Good luck
Tony Godfrey  @Reply  
     
2 years ago
What will fire that VBA code to run?
Sami Shamma  @Reply  
             
2 years ago
That is completely up to you. You can fire it from a button. Alternatively, it could be on the main menu form open or load event.
Tony Godfrey  @Reply  
     
2 years ago
Sami,

Thank you so much for your assistance.  That worked beautifully!

Tony

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

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: 7/15/2026 9:44:23 AM. PLT: 1s