XLSReadWriteII 7 is released – faster reading and writing, new sheet viewer, CSS formatting. See what’s new
Home / C++ Libraries

C++ Libraries

Work with Excel and MS Word files from C++

XLSReadWriteII and DOCXReadWrite with C++ source code for C++ Builder, GCC and Microsoft Visual C++. One license can download the source code for all compilers.

  • C++ Builder
  • GCC
  • Microsoft Visual C++
XLSReadWriteII – GCC and MSVC
#include "XLSReadWriteII5.hpp"
using namespace XLSReadWriteII5;

TXLSReadWriteII5* XLS = new TXLSReadWriteII5(nullptr);
XLS->Items(0)->AsFloat(0, 0, 125.0);
XLS->Items(0)->AsStringRef(L"B2", L"Hello again");
XLS->Items(0)->AsFormula(4, 0, L"SUM(A10:H11)");
XLS->Calculate();
delete XLS;
XLS

XLSReadWriteII for C++

Read and write Excel XLS and XLSX files. For the features, see the XLSReadWriteII page.

DOCX

DOCXReadWrite for C++

Read and write MS Word DOCX files. For the features, see the DOCXReadWrite page.

The demo version adds a copyright notice to the spreadsheet or document. Because they depend on external components, encrypted documents and PDF export are not supported in the C++ versions.