To work with Excel files from code, Microsoft now suggests using the EPPlus .NET library.
EPPlus 4.04 (http://epplus.codeplex.com) is available to X++ via AOT/References/EPPlus.
There is an example of usage in AOT/Code/Classes/CustCollectionsExcelStatement.
EPPlus 4.04 (http://epplus.codeplex.com) is available to X++ via AOT/References/EPPlus.
There is an example of usage in AOT/Code/Classes/CustCollectionsExcelStatement.