We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Is there any way to repair the corrupted XLSM file

Hi Team

I have a corrupted XLSM file. I need to repair it through aspose and save the clean file to the location.

Is there any way I can do with aspose

Hi,


Well, generally, if a file is corrupted and if you cannot open it with MS Excel fine (manually), Aspose.Cells also cannot open it via its APIs. There is no direct way to cope with it or Aspose.Cells does not provide any means to repair it. Anyways, could you attach your corrupted file here, will check it soon.

Thank you.

Thanks for you reply.

I am able to open it through excel. It asks whether to repair or not. When clicked OK, it would repair and display the data

Hi,


Did you try using Aspose.Cells APIs to load and re-save the file?

We again request you to attach the template file here, will check it soon.

Thank you.