Hello,
we've been working several years with Aspose, and are very happy with it.
However, something strange came up this week. It concerns an Excel document that is opened and saved by Aspose.Cells. The saved document cannot be opened in the normal mode. It is opened in protected view (with the red shield) and can not be edited. Seems like a validation error.
Attached you can find the document. The code which delivers the problem is as simple as:
class Program { static void Main(string[] args) { Aspose.Cells.License license = new Aspose.Cells.License(); license.SetLicense("Aspose.Total.lic");Aspose.Cells.<span style="color:#2b91af;">Workbook</span> workbook = <span style="color:blue;">new</span> Aspose.Cells.<span style="color:#2b91af;">Workbook</span>(<span style="color:#a31515;">@"C:\</span><span style="color: rgb(163, 21, 21);">Temp</span><span style="color: rgb(163, 21, 21);">\test.xls"</span>);<br> workbook.Save(<span style="color:#a31515;">@"C:\Temp\test_saved.xls"</span>, <span style="color:blue;">new</span> Aspose.Cells.<span style="color:#2b91af;">XlsSaveOptions</span>(Aspose.Cells.<span style="color:#2b91af;">SaveFormat</span>.Excel97To2003)); } }</pre></div><div><br></div><div><br></div><div>Further analysis showed that if either the autofilter is not set, or if the merged cells in the document are unmerged, the document can be opened in a normal way.</div><div><br></div><div>Thanks for your feedback on how to correct this.</div><div>Best regards,</div><div>Stefaan Verleye</div>