Hi All,
I can't understand why this is not working.
The code saves the file, but when I try to open it, I get an error message for an invalid format or file extension? What am I doing wrong? Thank you for any help!
I can't understand why this is not working.
Code:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12, "qryMyResults", "K:\SouthWest\Analysis DB\Weekly test\Book1.xlsx", True
The code saves the file, but when I try to open it, I get an error message for an invalid format or file extension? What am I doing wrong? Thank you for any help!