Search Data using Original Values
Contents
[
Hide
]
Sometimes the value of the data is hidden because it is formatted in some way. For example, suppose cell D4 has formula =Sum(A1:A2) and its value is 20 but it is formatted as —, then the value 20 is hidden and cannot be found using Microsoft Excel find options. However, you can find it using Aspose.Cells using LookInType.ORIGINAL_VALUES
Search Data using Original Values
The following sample code illustrates the above point. It finds cell D4 which cannot be found using Microsoft Excel find options but Aspose.Cells can find it using LookInType.ORIGINAL_VALUES. Please read the comments inside the code for more information.
Console Output
Here is the console output of the above sample code.
Aspose.Cells.Cell [ D4; ValueType : IsNumeric; Value : ---; Formula:=SUM(A1:A2)]