Get Page Count for an Excel Worksheet

This REST API returns the page count for a worksheet.

REST API

GET https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/pagecount

Request Parameters

Parameter Type Location Description
name string path Document name.
sheetName string path Worksheet name.
folder string query Folder that contains the document.
storageName string query Name of the storage.

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 access Aspose.Cells web services easily. The example below shows how to call the API with cURL.

Response Details

HTTP Status Meaning
200 Success – returns the JSON payload shown above.
401 Unauthorized – missing or invalid token.
404 Not Found – the file or worksheet does not exist.
500 Internal Server Error – unexpected server condition.

Version History

API version v3.0 (released 2025). If you are using a newer version, refer to the updated endpoint documentation.

Cloud SDK Family

Using an SDK is the fastest way to develop. An SDK abstracts low‑level details so you can focus on your business logic. See 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: