Copies contents and formats from another worksheet.
Contents
[
Hide
]
This REST API copies a worksheet and its formats to a new sheet within the same workbook.
REST API
POST http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/copy
The request parameters are:
| Parameter Name | Type | Location | Description |
|---|---|---|---|
name |
string | path | The name of the workbook file. |
sheetName |
string | path | The name of the destination worksheet (the new sheet). |
sourceSheet |
string | query | The name of the worksheet to be copied. |
options |
object | body | JSON object containing copy options (e.g., column width, formulas). |
sourceWorkbook |
string | query | The name of the source workbook if it differs from the current workbook. |
sourceFolder |
string | query | The folder path where the source workbook is stored. |
folder |
string | query | The folder path where the destination workbook will be saved. |
storageName |
string | query | The name of the storage service to use. |
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make calls to the Cloud API with cURL.
Cloud SDK Family
Using an SDK is the best way to speed up development. An SDK handles low‑level details so you can focus on your project tasks. 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: