You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue is similar to #144 however I am not able to reproduce it using file from that issue.
Unfortunately I am not able to send Excel file, when I try to open specific excel from code it throws me mentioned exception, call stack:
at ClosedXML.Excel.XLWorkbook.GetFormula(String value)
at ClosedXML.Excel.XLWorkbook.LoadConditionalFormatting(ConditionalFormatting conditionalFormatting, XLWorksheet ws, Dictionary`2 differentialFormats)
at ClosedXML.Excel.XLWorkbook.LoadSpreadsheetDocument(SpreadsheetDocument dSpreadsheet)
at ClosedXML.Excel.XLWorkbook.LoadSheets(String fileName)
at ClosedXML.Excel.XLWorkbook..ctor(String file)
at DebugConsoleApp.ClosedXml.Debug() in C:\Users\xxx\Desktop\proj\dummy\TESTING_PROJECT\DebugConsoleApp\ClosedXml.cs:line 16
at DebugConsoleApp.Program.Main(String[] args) in C:\Users\xxx\Desktop\proj\dummy\TESTING_PROJECT\DebugConsoleApp\Program.cs:line 28
When I open file i see it is in protected view, that view itself cannot be the problem because other files, also with protected view work ok. When I open such file manually, disable protected view and just save the file it works ok from code. I know it is impossible to find out the root cause now but maybe reading above description someone would have an idea what could help there?
Tried with other excel library (EPPlus last GNU version) and it works
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Did you test against the latest CI build?
Version of ClosedXML
0.102.2
What is the current behavior?
IndexOutOfRangeException exception thrown
What is the expected behavior or new feature?
No exception
Code to reproduce problem:
Issue is similar to #144 however I am not able to reproduce it using file from that issue.
Unfortunately I am not able to send Excel file, when I try to open specific excel from code it throws me mentioned exception, call stack:
When I open file i see it is in protected view, that view itself cannot be the problem because other files, also with protected view work ok. When I open such file manually, disable protected view and just save the file it works ok from code. I know it is impossible to find out the root cause now but maybe reading above description someone would have an idea what could help there?
Tried with other excel library (EPPlus last GNU version) and it works
The text was updated successfully, but these errors were encountered: