Replace text in an Excel workbook

This REST API replaces text in an Excel workbook.

REST API

POST http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/replaceText

Request parameters

Parameter Name Type Location Description
name string path Name of the workbook file.
sheetName string path Name of the worksheet where the replacement occurs.
oldValue string query Text that should be replaced.
newValue string query Text that will replace the old value.
folder string query Folder path containing the workbook.
storageName string query Name of the storage service where the workbook resides.

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 call Aspose.Cells web services easily. The example below shows how to make a request with cURL.

Cloud SDK Family

Using an SDK is the fastest way to integrate this functionality. An SDK handles low‑level details, allowing you to 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: