M
Mike Thomas
In Access 2003, we are importing Excel spreadsheets and are having a problem
with Access deciding that columns should be numbers rather than strings.
The spreadsheet is imported with the command
DoCmd.TransferSpreadsheet acImport, 0, "xImport", "d:\example.xls", True
I would like to find a way that Access would simply set each column of
xImport as a text column, then I can further process the data from there.
An example of the problem is an Excel column which has a number for the
first hundred rows, then an entry in the form of '03' where the zero is
significant. Do I need to make the table first, then read the Excel file
one row at a time, testing the type of each cell?
Many thanks
Mike Thomas
with Access deciding that columns should be numbers rather than strings.
The spreadsheet is imported with the command
DoCmd.TransferSpreadsheet acImport, 0, "xImport", "d:\example.xls", True
I would like to find a way that Access would simply set each column of
xImport as a text column, then I can further process the data from there.
An example of the problem is an Excel column which has a number for the
first hundred rows, then an entry in the form of '03' where the zero is
significant. Do I need to make the table first, then read the Excel file
one row at a time, testing the type of each cell?
Many thanks
Mike Thomas