Export Excel with pivot table using EasyXLS library! XLSX, XLSM, XLSB, XLS file in .NET. https://www.easyxls.com/manual/tutorials/cpp-net/create-excel-pivot-table.html