4
4110
I am importing Excel files into Access. Occasional I get an error:
Run-time error '3349':
Numeric Field overflow
The Access table I am importing to has text and number fields but I have
experimented with the Excel file and found the problem is with data that is
going to a text field. I can narrow the cause to one or two cells in the
Excel spreadsheet and click the delete field when I am in those cells and
avoid the error message.
I am doing the import from code and the failure occurs on this line:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9,
"tblImportRawDataFromComponentSubmittalSpreadsheet", Path & "\" & Filename,
False, TabName & "!" & Range
Path, Filename, TabName and Range are stored in a table and define what to
import. The line above is in a loop that repeats for all the necessary
imports and most of the time it works successfully.
I don't control the Excel spreadsheets so I need to apply a fix in Access to
avoid the error. What should I do?
Thanks.
Run-time error '3349':
Numeric Field overflow
The Access table I am importing to has text and number fields but I have
experimented with the Excel file and found the problem is with data that is
going to a text field. I can narrow the cause to one or two cells in the
Excel spreadsheet and click the delete field when I am in those cells and
avoid the error message.
I am doing the import from code and the failure occurs on this line:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9,
"tblImportRawDataFromComponentSubmittalSpreadsheet", Path & "\" & Filename,
False, TabName & "!" & Range
Path, Filename, TabName and Range are stored in a table and define what to
import. The line above is in a loop that repeats for all the necessary
imports and most of the time it works successfully.
I don't control the Excel spreadsheets so I need to apply a fix in Access to
avoid the error. What should I do?
Thanks.