I tried searching, but couldn’t find a way around my problem. I’m trying to open up various Excel files that have some type of Excel message. See attached.
It won’t allow me to open the file in code. if I open the file, clear the box, then resave, then it works fine. I just need to know if there’s a way to bypass that alert message so the file can load properly.
Code:
LoadOptions LDOs = new LoadOptions();
LDOs.LoadDataOptions = new LoadDataOption();
LDOs.LoadDataAndFormatting = true;
Workbook wb = new Workbook(filePath, LDOs);
Hi,
Thanks for your posting and using Aspose.Cells.
It seems your output excel file gets corrupt with Aspose.Cells. However such issue might already be fixed in the latest version: Aspose.Cells
for .NET v8.6.0.2. So please download it and give it a try to see if it makes any difference.
If your issue still occurs, then please provide us your sample excel files and sample code replicating this issue. We will look into it and help you asap.
Actually, the files aren’t being created with Aspose.
They were created by external vendors, I’m just trying to open the files.
Hi,
I’ll try that, but if I open up the file manually, click the alert box the file opens ok. I just need a way to bypass those messages.
Hi,