Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)
Fritz
Created on: 04 Jun 2024 12:00
Category: SpreadProcessing
Type: Bug Report
0
SpreadProcessing: InvalidOperationException: 'The axes are incorrectly paired.' when importing a document
When importing a xlsm document, an error occurs: "The axes are incorrectly paired." 
            string fileName = "file.xlsm"; 
            Telerik.Windows.Documents.Spreadsheet.Model.Workbook workbook;
            IWorkbookFormatProvider formatProvider = new Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsm.XlsmFormatProvider();

            using (Stream input = new FileStream(fileName, FileMode.Open))
            {
                workbook = formatProvider.Import(input);
            }
0 comments