I'm using this code to transfer data in from a query to an excel .xlsx spreadsheet
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12Xml, WbSheet, CurrentProject.Path & "\" & WbName, True
This works over 95 percent of the time. But sometimes, for some reason, the spreadsheet does...