Do you think there is an issue with the original code selecting the 3 tabs. I have no idea why it does this but I am using MS Office Pro 2019.
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12Xml, "Portfolio_MainLive", strOutputFileName, True
DoCmd.TransferSpreadsheet acExport...