Solved

VBA code to run an import specification

Posted on 2014-01-02
1
1,476 Views
Last Modified: 2014-01-03
On a form I have a command button.  When clicked I would like it to run a saved import specification.

How can I do this?
0
Comment
Question by:SteveL13
1 Comment
 
LVL 24

Accepted Solution

by:
chaau earned 500 total points
ID: 39752656
In the VBA code for the button Click event put this line:
docmd.RunSavedImportExport("MySavedImport") 'replace "MySavedImport" with the name of your saved import

Open in new window

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

856 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