Convert List Object to Range using Aspose.Cells Cloud API

This REST API converts a ListObject (table) to a Range within an Excel worksheet.

Prerequisites:
Before calling the endpoint, ensure that the workbook is uploaded to your Aspose Cloud storage, the worksheet contains the target ListObject, and you are using a supported file format (e.g., .xlsx, .xlsm).

REST API

Authentication
To call this operation you must include a valid JWT token in the Authorization header. Obtain the token by sending a POST request to the OAuth 2.0 token endpoint with your client ID and client secret. The token must include the Cells.ReadWrite scope and is valid for the period returned by the token service.

POST https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}/ConvertToRange

Security and Authentication

The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.

Request Parameters

Name Type Location Required Default Description
name string path Yes The name of the Excel file.
sheetName string path Yes The name of the worksheet that contains the ListObject.
listObjectIndex integer path Yes Zero‑based index of the ListObject (table) to be converted.
folder string query No Folder path where the file is stored.
storageName string query No Name of the storage service.

Note: This operation works only with modern Excel formats such as .xlsx and .xlsm. The ListObject must not be protected. For more information about ListObjects, see the ListObjects overview. For details on working with ranges, refer to the Ranges documentation.

cURL Example (Request)

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: