title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
DoCmd.RunSavedImportExport method (Access) |
vbaac10.chm5878 |
|
|
cb0ade9a-5cd4-1225-5231-8266fdfb3690 |
03/07/2019 |
medium |
Run a saved import or export specification.
expression.RunSavedImportExport (SavedImportExportName)
expression A variable that represents a DoCmd object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
SavedImportExportName | Required | Variant | The name of a saved import or export specification to run. |
This method has the same effect as performing the following procedure in Access:
-
On the External Data tab, choose either Saved Imports or Saved Exports.
-
In the Manage Data Tasks dialog box, on the Saved Imports or Saved Exports tab (depending on your choice in the preceding step), choose the specification that you want to run.
-
Select Run.
Before running the RunSavedImportExport method, make sure that the source and destination files exist, the source data is ready for importing, and the operation will not accidentally overwrite any data in your destination file.
[!includeSupport and feedback]