XLSX ODS HTML NUMBERS CSV
Aspose.Cells  for C++
XLSX

Merge Excel Formats in C++

Native and high performance document merger using server-side Aspose.Cells for C++ APIs, without the use of any software like Microsoft or Open Office, Adobe PDF.

How to Merge Excel File Using C++

In order to merge Excel file, we will use Aspose.Cells for C++ API which is a feature-rich, powerful and easy to use document manipulation and merging API for C++ platform.

You can download its latest version directly, just open NuGet package manager, search for Aspose.Cells.Cpp and install. You may also use the following command from the Package Manager Console.

Command


PM> Install-Package Aspose.Cells.Cpp

Steps for Merging Excel File in C++

A basic document merging and concatenating with

Aspose.Cells for C++

APIs can be done with just few lines of code.

  • Load the XLSX file with Workbook class.
  • Call the Workbook.Combine method for merging files.
  • Call the Workbook.Save method and pass the output file name as a parameter.
  • Now you can open and use the output file in Microsoft Office, Adobe PDF or any other compatible program.

System Requirements

Our APIs are supported on all major platforms and Operating Systems. Before executing the code below, please make sure that you have the following prerequisites on your system.

  • Microsoft Windows or a compatible OS with C++ Runtime Environment for Windows 32 bit, Windows 64 bit and Linux 64 bit.
  • Add reference to the Aspose.Cells for C++ DLL in your project.
Free App to merge Excel files on line
Select two files
Output format
   
                                   

	  
  #include "Aspose.Cells.h"     
  intrusive_ptr<Aspose::Cells::IWorkbook> wkb = Factory::CreateIWorkbook(new String("Input.xlsx"));
  wkb->CombineIWorkbook(Factory::CreateIWorkbook(new String("Combine.xlsx")));
  wkb->Save(new String("Output.pdf"));
	 
                
            

About Aspose.Cells for C++ API

Aspose.Cells API can be used to create, edit, convert and render Microsoft Excel formats to different formats. Moreover, it can be used for comprehensive charting, scalable reporting and reliable calculations within software applications. Aspose.Cells is a standalone API and it does not require any software like Microsoft or OpenOffice.

XLSX What is XLSX File Format

XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Based on structure organized according to the Open Packaging Conventions as outlined in Part 2 of the OOXML standard ECMA-376, the new format is a zip package that contains a number of XML files. The underlying structure and files can be examined by simply unzipping the .xlsx file.

Read More

Other Supported Merging Formats

Using C++, One can also merge xlsx to many other file formats including.

HTML (Hyper Text Markup Language)
MHTML (Web Page Archive Format)
ODS (OpenDocument Spreadsheet File)
TSV (Tab-Separated Values)
TXT (Text Document)
XLS (Excel Binary Format)
XLSB (Binary Excel Workbook File)
XLSM (Spreadsheet File)
XLSX (OOXML Excel File)
XLT (Microsoft Excel Template)
XLTM (Excel Macro-enabled Template)
XLTX (Office OpenXML Excel Template)