Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import & Export question

Status
Not open for further replies.

Huey462

Technical User
Jun 30, 2010
18
US
I currently use the following VBA code to import and export the database to excel to make a backup copy:

Code:
    DoCmd.RunSavedImportExport ("Backup Export")
and
Code:
    DoCmd.RunSavedImportExport ("Import Backup")

On this form, I have four text boxes that the user can input their own path and file name:
Import: IFileLocation and IFileName
Export: EFileLocation and EFileName

Is there a way to be able to use these text boxes in an import/export VBA code?

Thank you for reading,

-Huey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top