G
Guest
When I do
DoCmd.TransferSpreadsheet acImport, 8, "TableName", "FileName.xls", True, ""
(or click File\Get External Data .. etc)
I get Type Conversion Failures with the following data:
Row HouseNumber
1 81
2 165
3 52
:
84 1a
It objects to row 84. The destination table TableName has a Text(5) type for
field HouseNumber. Changing the Excel cell format from General to Text has no
effect.
...The import tries to be clever and assumes that because the first x rows
are numeric, it must do a type conversion for the whole column.. Except row
84 is text & fails a num->txt convert.
Is there a way 'round this?.. I've ~300 files each with ~3000 rows.
TIA
SimonC
DoCmd.TransferSpreadsheet acImport, 8, "TableName", "FileName.xls", True, ""
(or click File\Get External Data .. etc)
I get Type Conversion Failures with the following data:
Row HouseNumber
1 81
2 165
3 52
:
84 1a
It objects to row 84. The destination table TableName has a Text(5) type for
field HouseNumber. Changing the Excel cell format from General to Text has no
effect.
...The import tries to be clever and assumes that because the first x rows
are numeric, it must do a type conversion for the whole column.. Except row
84 is text & fails a num->txt convert.
Is there a way 'round this?.. I've ~300 files each with ~3000 rows.
TIA
SimonC