0
Reply

Protected View Message in Excel 2010

satwika g

satwika g

Nov 2 2010 9:47 AM
5.3k
Hi,

I am developing a windows application.I would need Microsoft Excel in that application. But when I try to open an existing Excel 2010 from .net program I am receiving "Protected View Exception'. Same logic is working for first couple of times then it throwing the protected view exception. Is there any solution to turn off this message or handle it? I would have to write data to excel each time I open that windows application. It would be great if anyone could help me.

Error Message: System.Runtime.InteropServices.COMException (0x80070BBC).Office has detected a problem with this file. To help protect your computer this file cannot be opened

Thank you,
Satwika..