Replace Spreadsheet Content
Contents
[
Hide
]
Efficiently replace specified text within local spreadsheet files.
Replace Spreadsheet Content API
PUT http://api.aspose.cloud/v4.0/cells/replace/content
Request Parameters:
Parameter Name | Type | Path/Query String/HTTPBody | Description |
---|---|---|---|
Spreadsheet | File | FormData | Upload the spreadsheet file. |
searchText | String | Query | The text to search for. |
replaceText | String | Query | The text to replace with. |
worksheet | String | Query | Specify the worksheet for the replacement. |
cellArea | String | Query | Specify the cell area for the replacement. |
region | String | Query | The spreadsheet region setting. |
password | String | Query | The password for opening the spreadsheet file. |
Response
[
{
"Name": "ResponseFile",
"DataType": {
"Identifier": "File",
"Reference": "Stream",
"Name": "file"
}
}
]
Error Codes
- 400 Bad Request: Invalid Apose.Cells Cloud API URI.
- 401 Unauthorized: Invalid access token. Or invalid client id and secret.
- 404 Not Found: The spreadsheet file not accessible.
- 500 Server Error: The spreadsheet has encountered an anomaly in obtaining calculation data.
Where should we use the Replace content in Spreadsheet API?
When you need to replace content in spreadsheet with password, you can use this API.
Why should you use the Replace content in Spreadsheet API?
- Quickly replace content in spreadsheets with password.
- Development can be quickly completed through the existing SDK.
How to Use the Replace content in Spreadsheet API with SDKs
OpenAPI Specification
The OpenAPI Specification defines a publicly accessible programming interface, allowing you to perform REST interactions directly from a web browser.
Use Aspose.Cells Cloud SDKs
Using the SDK is the best way to accelerate development. The SDK handles the underlying details, allowing you to simply implement replace content in spreadsheets for cells with minimal code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to interact with Aspose.Cells web services using various SDKs: