Hi Sri Prashanna,
“ string sTempFilePath = ConfigurationManager.AppSettings[“TempFolderName”].ToString();
string GUID = Guid.NewGuid().ToString();
string fileName = sTempFilePath + “Test” + “_” + “2011” + GUID;
workbook.Save(fileName + “.xlsx”, FileFormatType.Excel2007Xlsx);
Application excel = new Application();
Microsoft.Office.Interop.Excel.Workbook workbook1 = excel.Workbooks.Open(fileName + “.xlsx”, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
workbook1.SaveAs(fileName + “.dif”, XlFileFormat.xlDIF, Type.Missing, Type.Missing, Type.Missing, false, XlSaveAsAccessMode.xlNoChange, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);”
As I told you earlier, we cannot fix the issue for dif format as the file is generated by your VSTO (Office Automation API). We can fix the issue for the XLSX file generated by Aspose.Cells.
If you find the issue for your XLSX file (as you told us this is not the case), then we can fix the issue.
By the way, since you are using some older versions, we recommend you to use our latest versions/fix e.g
Thank you.