The macro that you have posted instructs Excel to delete the sheets if the name of the worksheet is not equal to the names which you have specified in the macro, like for e.g., Total data,KPITopLevel,pivot,Frontpage,Chart Total,Chart IBM Global,etc.
The code line ws.Delete deletes these sheets. If you make someone edit this line of the macro without explaining him / her of what you need to accomplish in your application, it may happen so that the macro wont work the way you want it to work. It is always advisable to ask the person who created this macro for you in order to make changes according to your requirement.
Also, if someone on the board, maybe an expert on VBA macros, may come up with a solution to your problem. I can read what the macro is doing in your application but I would inform you that I am an average runner and a learner when VBA comes into picture. Hence I would refrain giving you advice on editing your line of code. My apologies for being dumb when it comes to VBA.