When I try and use the following code
DoCmd.TransferSpreadsheet acImport,_ acSpreadsheetTypeExcel97, "tbltmpImportFile",_ Me.txtInputFileLocation, True
One column in the spreadsheet contains mixed data types (numeric and text) - I have set the data type in the Access table to be text to cope with both but Access looks at the data type of the first few (?) rows in the spreadsheet and decides that they are numeric and then when it hits a text record generates a paste error!
I have tried linking to the spreadsheet but no go either.
Any help gratefully received!
DoCmd.TransferSpreadsheet acImport,_ acSpreadsheetTypeExcel97, "tbltmpImportFile",_ Me.txtInputFileLocation, True
One column in the spreadsheet contains mixed data types (numeric and text) - I have set the data type in the Access table to be text to cope with both but Access looks at the data type of the first few (?) rows in the spreadsheet and decides that they are numeric and then when it hits a text record generates a paste error!
I have tried linking to the spreadsheet but no go either.
Any help gratefully received!