I am working on writing code to import a spreadsheet that I created. I spreadsheet has 9 columns in it and each one has its own vaildation rules. I am getting the following error when I try importing the file through code:
Run-time error '3709':
The search key was not found in any record.
This is the code I am trying to use to import the file:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "BatchPlansTemp", "c:\temp\Plan Setup Template.xls", True
Anyone have any idea what this error really means?
Thanks in advance for your help.
Run-time error '3709':
The search key was not found in any record.
This is the code I am trying to use to import the file:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "BatchPlansTemp", "c:\temp\Plan Setup Template.xls", True
Anyone have any idea what this error really means?
Thanks in advance for your help.