How to supress warnings of Office 2010

Hi,

I have c# code to generate excel using Apose(5.0). It's generating excel as expected.

The problem is when I am trying to open the excel in Office 2010, I am getting warnings as below.

"Protected View : Office has detected a problem. Editing may harm your computer. Click for more details.." and

"Macros have been disabled".

Q1. How can I supress these warnings/errors.

Q2. How can I configure Worksheet/Workbook to override the protected view. I want the excel to be opened in normal view.

Please help..

Thanks,

Aniket

Hi,

Thanks for your posting and using Aspose.Cells.

Well, there is no such API that can remove these warnings or configure workbook to open in normal view. Normally, such warnings occur when there are some corrupt records in the output files. You should download and use the latest version Aspose.Cells
for .NET v7.5.3.2
and see if it resolves your issue.

If your problem still occurs, then please provide us your source and output files and sample code replicating this issue with the latest version. We will look into it and update you asap.