Set Value of a Cell in a Worksheet
Contents
[
Hide
]
This REST API sets the cell value in an Excel file.
REST API
POST http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/cells/{cellName}
Request parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | Name of the Excel document. |
| sheetName | string | path | Name of the worksheet. |
| cellName | string | path | Address of the target cell (e.g., A1). |
| value | string | query | Value to assign to the cell. |
| type | string | query | Data type of the value (e.g., int, string). |
| formula | string | query | Formula to apply to the cell (optional). |
| folder | string | query | Folder that contains the document. |
| storageName | string | query | Name of the storage where the file resides. |
The OpenAPI Specification defines a publicly accessible programming interface and lets you perform REST interactions directly from a web browser.
You can use the cURL command‑line tool to call Aspose.Cells web services. The example below demonstrates how to set a cell value with cURL.
Cloud SDK Family
Using an SDK speeds up development by handling low‑level details so you can focus on your project. See the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples show how to call Aspose.Cells web services with various SDKs: