Access - Form Button to Run a "External Data" Saved Import from Excel

Posted on 2012-08-26
Medium Priority
Last Modified: 2012-08-26
Hi All

I have asked a similar question to this regarding automating the import of a Text File.  During that automation the procedure in the setup of the Appending from a Text File had a different button in the setting up of that Saved Import file.  I don't see that same button when I am setting up an Append using the "External Data""Excel" wizard in A2007.

I have a Saved Import called "Import-TrialBalanceToTempTable" in the Manage Data Tasks window of A2007 that imports some data from Excel.  Instead of having to always open that I want to put that function on an Access Form using a Control Button to execute.  Is there a way to do that??
Question by:wlwebb
LVL 40

Accepted Solution

als315 earned 2000 total points
ID: 38334592
Try this:
DoCmd.RunSavedImportExport "Import-TrialBalanceToTempTable"

Author Closing Comment

ID: 38334706
WONDERFUL!  Thank you

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
A quick solution showing how to control and open a POS Cash Register Drawer using VBA with MS Access.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question