cassidybklyn
Programmer
Please can anyone assist me with the VB code to export a spreadsheett to access table(database). I am doing this and it's telling me that object is required:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "ExcelImport", "C:\UnclaimedChecksover60days_20070515_12.51.38.xls", True
Note: "ExcelImport" is my access table name.
Name of spreadsheet and its location:
"C:\UnclaimedChecksover60days_20070515_12.51.38.xls"
Both my spreasheet and Access database on located on the C:\ drive.
Thanks.
Cassidy.
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "ExcelImport", "C:\UnclaimedChecksover60days_20070515_12.51.38.xls", True
Note: "ExcelImport" is my access table name.
Name of spreadsheet and its location:
"C:\UnclaimedChecksover60days_20070515_12.51.38.xls"
Both my spreasheet and Access database on located on the C:\ drive.
Thanks.
Cassidy.