Can you tell what are things are doing the excel. Without know that we can’t say thing.
In this moment you can take the Back up for the excel (May be you can Copy the excel file before processing). So it will not get effected by any data.
Regards
Gokul