PUT https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}/area
Request Parameters
Parameter Name
Type
Location
Description
name
string
path
The name of the Excel file.
sheetName
string
path
The name of the worksheet that contains the condition.
index
integer
path
The zero‑based index of the conditional formatting rule.
cellArea
string
query
The cell range to add, expressed in A1 notation (e.g., A1:C3).
folder
string
query
The folder where the file is stored.
storageName
string
query
The name of the storage service.
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 a call to the Cloud API with cURL.
Successful response –
A JSON object containing Code200 and StatusOK. The body may also include the updated CellArea object.
Updated CellArea schema
Property
Type
Description
StartRow
int
Zero‑based index of the first row.
StartColumn
int
Zero‑based index of the first column.
EndRow
int
Zero‑based index of the last row.
EndColumn
int
Zero‑based index of the last column.
Common error responses
400 Bad Request – { "Code":"400", "Message":"Invalid cellArea format." }
404 Not Found – { "Code":"404", "Message":"Worksheet or conditional formatting rule not found." }
409 Conflict – { "Code":"409", "Message":"CellArea overlaps with an existing area." }
500 Internal Server Error – { "Code":"500", "Message":"Unexpected server error." }
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 call Aspose.Cells web services using various SDKs:
Developers can also refer to related operations such as Delete Cell Area and Add Condition to Conditional Formatting for further workflow integration.