Split a spreadsheet into multiple files, one for each worksheet.

Split the spreadsheet stored in the cloud into separate files with 30 output file formats.

Split Remote Spreadsheet API

PUT http://api.aspose.cloud/v4.0/cells/{name}/split/spreadsheet

Request Parameters:

Parameter Name Type Path/Query String/HTTP Body Description
name String Path The name of the workbook file to be split.
folder String Query The folder path where the workbook is stored.
from Integer Query Begin worksheet index.
to Integer Query End worksheet index.
outFormat String Query The desired output format (e.g., “Xlsx”, “Pdf”, “Csv”).
storageName String Query (Optional) The name of the storage if using custom cloud storage. Use default storage if omitted.
outPath String Query (Optional) The folder path where the workbook is stored. The default is null.
outStorageName String Query Output file storage name.
fontsLocation String Query Use custom fonts.
region String Query The spreadsheet region setting.
password String Query The password for opening the spreadsheet file.

Response

[
    {
        "Name": "ResponseFile",
        "DataType": {
        "Identifier": "File",
        "Reference": "Stream",
        "Name": "file"
        }
    }
]

Error Codes

  • 400 Bad Request: Invalid Apose.Cells Cloud API URI.
  • 401 Unauthorized: Invalid access token. Or invalid client id and secret.
  • 404 Not Found: The spreadsheet file not accessible.
  • 500 Server Error: The spreadsheet has encountered an anomaly in obtaining calculation data.

Where should we use the Split Remote Spreadsheet API?

When you need to merge multiple data files together, you can use this API.

Why should you use the Split Remote Spreadsheet API?

  • Cloud storage files do not need to be downloaded, and can be split directly in the cloud.
  • Development can be quickly completed through the existing SDK.

How to Use the Split Remote Spreadsheet API with SDKs

Split Remote Spreadsheet API Specification

The Split Remote Spreadsheet API Specification defines a publicly accessible programming interface and enables REST interactions directly from a web browser.

Use Aspose.Cells Cloud SDKs

Using the SDK is the fastest way to develop, as it abstracts away the low-level details, allowing you to split the spreadsheet stored in the cloud into separate files with short code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs. The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: