I have users who for whatever reason need the excel4 formated file, but in an Access2K or 2003 database the acSpreadsheetTypeExcel4 generates an error. It works fine in an access97 database, but not the 2K or 2003 databases. My code is below. changing to excel7, 8, 9, 5 all work without an error. Is there something I need to do differently with this?
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel4, stDocName, SaveASstr, True
Thanks
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel4, stDocName, SaveASstr, True
Thanks