You need to write the modified file to the new file name. Check this
If you have multiple sheets, you need to rewrite other sheets
XLS with several sheets, but just modify one of the sheets (and do not touch other data), there is no way for the table to βrememberβ what is in the other sheets. You will need to write unmodified sheets, as well as unforeseen events.
Ergo: write a modified sheet, and also write a complete unmodified sheet again, when changing XLS with a table with multiple sheets.
source share