Hello @ahsaniqbalsidiqui/@Amjad_Sahi,
I have an excel with macro enabled document. I am trying to make changes to the file and saves it using
book.Save(filePath, SaveFormat.Xlsm);
After saving the file format becomes not supported and when I am trying to read that changed file, I am getting the mentioned error.
Please find the files before and after the modification in the attachements.
Real-Time Work Order_Update.zip (1.9 MB)