SMG
05-09-2002, 07:18 AM
I have a problem exporting data from an Access table to an Excel spreadsheet via a query and the OutputTo method. For example, when exporting a date field containing 25/02/02 from Access, it appears on the spreadsheet as 25/02/02. However, Access will not accept this format when importing it back unless you click on the cell and then on the formula bar, which changes the cell contents to 25/02/2002. Access will now accept this data. Unless this is done on each cell, you get a type conversion error. Is there any way of reformatting the entire sheet without clicking each cell? I've tried just about every date format when exporting from Access but nothing works. You also get the same problem exporting and then importing 'number' fields.