Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1385
Save to an Excel format that supports dynamic arrays
posted

TestPlugin.zip

In January 2020, Excel introduced a new feature called dynamic arrays and files saved in previous versions could have the implicit intersection operator (@) affixed to the beginning of their function calls.

We have a plugin that creates a User Defined Function (via ExcelDNA), and we use the Infragistics Excel Library to write the .xlsx file where that UDF is referenced.

Because of these changes, our plugin is now having problems when the files are loaded. We can fix the UDF so it returns a dynamic array but the Excel Library is still writing an older layout. We have tried both using WorkbookFormat.Excel2007 and WorkbookFormat.StrictOpenXml.

Is the library (WorkbookFormat) going to be updated for newer versions of Excel? I'm currently using the WPF 21.1.27.