Search Text in Local Excel Spreadsheets - Find Data in Specific
Programmatically search for specific text within any Excel spreadsheets using Aspose.Cells Cloud API. Find text, numbers, or formulas in local files stored. RESTful API for automated data discovery, content analysis, and spreadsheet auditing workflows.
Search Spreadsheet Content API
API Endpoint
PUT http://api.aspose.cloud/v4.0/cells/search/content
Request Parameters:
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
|---|---|---|---|
| Spreadsheet | File | FormData | Upload the spreadsheet file to search. |
| searchText | String | Query | The text to search for within the spreadsheet. |
| ignoringCase | Boolean | Query | Specify whether to ignore case in the search. |
| worksheet | String | Query | Specify the worksheet to search within. |
| cellArea | String | Query | Specify the area of cells to search. |
| region | String | Query | The region setting for the spreadsheet. |
| password | String | Query | The password required to open the spreadsheet file. |
Response
{
"Name": "BrokenLinksResponse",
"Type": "Class",
"ParentName": "CellsCloudResponse",
"Properties": [
{
"Name": "BrokenLinks",
"DataType": {
"Identifier": "Container",
"Reference": "BrokenLink",
"ElementDataType": {
"Identifier": "Class",
"Reference": "BrokenLink",
},
}
},
{
"Name": "Code",
"DataType": {
"Identifier": "Integer",
}
},
{
"Name": "Status",
"DataType": {
"Identifier": "String",
}
}
]
}
Error Codes
- 400 Bad Request: Invalid Aspose.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 Search content within the Spreadsheet API?
- Comprehensive Workbook Compliance Audit: Quickly scan the entire Excel file to identify all sensitive terms (such as “Confidential Clause”, “Internal Data”), which is used for enterprise data security and compliance checks.
- Cross-Sheet Data Association Query: When project information is scattered across multiple worksheets, simply search for a specific project number or customer name, and immediately locate all related data to achieve cross-sheet information integration.
- Batch Template Content Verification: After automated report generation, scan multiple Excel files in batches to confirm that all preset placeholders (such as
{{Date}}) have been correctly replaced, ensuring the completeness and accuracy of the report. - Historical Data Archiving and Mining: Analyze historical data files exported from the old system, search for specific event codes or business terms, quickly understand the historical business logic, and conduct data archaeology and analysis.
Why should you use the Search content within the Spreadsheet API?
- Developer-Friendly: Aspose.Cells Cloud offers SDK libraries in multiple languages, enabling quick development and comes with comprehensive documentation. Compared to building custom chart rendering solutions, this significantly reduces the development workload.
- Reduced Labor Costs: Reduced the need for positions dedicated to document consolidation.
- Pay-per-use: No upfront investment, only pay for API calls actually used.
- Zero Maintenance Costs: No need to maintain servers, update software, or deal with compatibility issues.
- Preserves complex Excel formatting in universally accessible PDF format.
How to Use the Search for broken links within the Spreadsheet API with SDKs
OpenAPI Specification
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out 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 search content within 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 make calls to Aspose.Cells web services using various SDKs: