R
RONDEAU Stephane
Hello,
I try to import data from an excel spread sheet to an existing access table.
I'm using the TransferSpreadsheet function.
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "LOAD_TABLE",
myFile.xls, False, "A:CQ"
but sometime i get an error message about a key violation.
After a lot of tests, i have found the reason of the message.
in fact a cell whose seems to be be clear are not clear.
I think there is a special caratere in the cell, because if i clear this
cell the file can be load in the table.
If you heard something about a similar case can you explain me how find
special caractere.
Thank you in advance
Stephane
I try to import data from an excel spread sheet to an existing access table.
I'm using the TransferSpreadsheet function.
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "LOAD_TABLE",
myFile.xls, False, "A:CQ"
but sometime i get an error message about a key violation.
After a lot of tests, i have found the reason of the message.
in fact a cell whose seems to be be clear are not clear.
I think there is a special caratere in the cell, because if i clear this
cell the file can be load in the table.
If you heard something about a similar case can you explain me how find
special caractere.
Thank you in advance
Stephane