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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing from Excel 2

Status
Not open for further replies.

NWTrust

Technical User
Apr 2, 2002
68
GB
I wish to import data from an Excel spreadsheet into an Access table. I found a command in a help file somewhere but can't remember where and unfortuately, did not make a note of it. It started: "DoCmdTransferSpreadsheet acImport," or something similar. Can anyone, please, complete it for me or tell me where I can get the details?

NWTrust
 
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel5, "YourAccessTableName", "c:\Path\YourExcelFile.xls
 

The details can be found by placing your cursor on TransferSpreadsheet and selecting the F1 key.


Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top