Get End Cell of an Excel Worksheet – Aspose.Cells Cloud API v4.0
Contents
[
Hide
]
This REST API returns the endcell of an Excel worksheet when the cellOrMethodName parameter is set to endcell.
Overview
The Get Last Cell operation returns the address of the last used cell in a specified worksheet. It is useful for determining the effective data range of a sheet without scanning the entire workbook.
- cURL Example.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
fileName |
string | Yes | Name of the Excel file stored in the cloud. |
worksheetName |
string | Yes | Name of the worksheet from which to retrieve the last cell. |
cellOrMethodName |
string | Yes | Must be set to endcell to invoke this operation. |
folder (optional) |
string | No | Cloud folder path where the workbook is located. |
storageName (optional) |
string | No | Name of the storage. If omitted, the default storage is used. |
HTTP Status Codes
| Code | Meaning | Description |
|---|---|---|
| 200 | OK | Filter applied successfully; response contains operation details. |
| 400 | Bad Request | Missing or invalid parameters (e.g., unsupported file type). |
| 401 | Unauthorized | Invalid or missing JWT token. |
| 413 | Payload Too Large | Uploaded file exceeds size limit. |
| 500 | Internal Server Error | Unexpected server error. |
- Use Aspose.Cells Cloud SDKs
Using an SDK is the best way to accelerate development. An SDK handles low‑level details, allowing you to 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 call Aspose.Cells web services using various SDKs:
For further operations related to cell navigation, see the Get First Cell and Get Max Row topics.