I'm currently running a
Docmd.TransferSpreadsheet acExport,,"MyTableName", "MyPathAndFileName.xls",True.
It is saving the table as a spreadsheet into a particular workbook. I "thought" yesterday it was working as it was supposed to. Today however, it is not. Today it is creating a new tab with the tab name MYSheet2. I want it to replace the worksheet MySheet.
Is there a way to do this? (Please don't tell me to pull the data in from Excel. This is not a viable option for my circumstances)
Docmd.TransferSpreadsheet acExport,,"MyTableName", "MyPathAndFileName.xls",True.
It is saving the table as a spreadsheet into a particular workbook. I "thought" yesterday it was working as it was supposed to. Today however, it is not. Today it is creating a new tab with the tab name MYSheet2. I want it to replace the worksheet MySheet.
Is there a way to do this? (Please don't tell me to pull the data in from Excel. This is not a viable option for my circumstances)