GroupDocs.Merger for Python via .NET

Merge EXCEL files

GroupDocs.Merger for Python via .NET enables you to merge EXCEL documents effortlessly within your Python applications, providing seamless integration and high performance.

How to merge EXCEL documents

With GroupDocs.Merger, merging EXCEL documents is simple. Enhance your Python via .NET applications with efficient document combination capabilities.

  1. Provide the file path for the first EXCEL document.
  2. Select the second document to be merged.
  3. Set optional parameters for customization.
  4. Execute the merge process and save the output document.
import groupdocs.merger as gm

# Initialize the Merger with the source EXCEL document
with gm.Merger("file_1.xlsx") as merger:
    
    # Merge the document with another selected file
    merger.join("file_2.xlsx")

    # Save the final merged document to a preferred location
    merger.save("result.xlsx")
npm i @groupdocs/groupdocs.merger
click to copy
copied
More examples Documentation

Comprehensive document merging capabilities

GroupDocs.Merger for Python via .NET is optimized for handling a wide variety of document formats, offering extensive features for managing business documents.

Core functionalities of GroupDocs.Merger

Merge multiple document types

Easily combine PDFs, Word files, presentations, spreadsheets, images, and other document types. Define specific page ranges to customize the merge process.

Modify and organize document pages

Rearrange pages, delete unwanted sections, or swap pages to create well-structured documents tailored to your needs.

Customize page layout and orientation

Rotate pages to any desired angle and adjust page orientation between landscape and portrait for various file types.

Extract and save specific document pages

Select particular pages from a document and save them as a separate file, ensuring easy access and organization.

Merge selected pages from different document formats

This example demonstrates how to merge EXCEL files while selecting specific pages from documents in other formats.

JavaScript

import groupdocs.merger as gm

# Define the path of the main document
with gm.Merger("file_1.xlsx") as merger:
  
    # Configure options to include specific pages
    joinOptions12 = gm.domain.options.PageJoinOptions(1, 2)
    joinOptions34 = gm.domain.options.PageJoinOptions(3, 4)

    # Merge the primary file with selected pages from another document
    merger.join("file_2.docx", joinOptions12)
    merger.join("file_3.xlsx", joinOptions34)

    # Save the final document in the desired location
    merger.save("result.xlsx")
npm i @groupdocs/groupdocs.merger
click to copy
copied
More examples Documentation

Overview of GroupDocs.Merger

GroupDocs.Merger for Python via .NET is a feature-rich document processing solution supporting over 50 file formats, including PDF, Word, Excel, PowerPoint, images, and archives. With its robust set of tools, you can merge, split, extract, swap, and remove pages efficiently.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Merger for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Key functionalities

Discover additional operations and features supported by GroupDocs.Merger to enhance your document processing experience.

Combine files in different formats

With support for over 50 document types, GroupDocs.Merger streamlines file processing, making document handling simple and efficient.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English