Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

Access 2007 VBA Import Excel

I have 20 Excel 2007 files that I would like to import into 20 seperate tables in an Access 2007 DB. What is the VBA code for importing.

1 of the 20 Excel files has two sheets that I need imported into two seperate tables.
0
CMILLER
Asked:
CMILLER
1 Solution
 
PatHartmanCommented:
DoCmd.TransferSpreadsheet ....
Use intellisense to get the syntax or read about it in help.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Tackle projects and never again get stuck behind a technical roadblock.
Join Now