Saving OLE Excel to Access table

cbh35711

New member
Local time
Today, 04:51
Joined
Feb 29, 2012
Messages
4
All Hello,

I have an embedded Excel 2007 file on an Access 2007 form. The excel file provides the user interface i need easier than recreating it in Access. Once the user has input the required information, I need the data to be saved in a table.

I have worked with recordsets before, but not exactly sure how to handle this one.

Alternatively, I could save it to their computer then import it back. This seems like a roundabout way to do it, but i think it would work.

Any advice would be appreciated!

Thanks!

Chris
 
If you know the path to the actual Excel File you may be able to do something like this :
Code:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12, "TABLENAME", "C:\pathttofile\excelfile.xlsx"
 

Users who are viewing this thread

Back
Top Bottom