At this page: https://reference.aspose.com/net/cells/aspose.cells/lookintype
What does the below line means?
If the cell contains a formula, find it from formula. Else find object from the formula.
It makes no sense to me and neither of my colleagues.
The reason I need this information is that, I want to find something which can be three of the below LookInTypes:
- OnlyFormulas
- Comments
- Values or OriginalValues
I don’t want to process the file in three steps, what can I do to solve this?
bool asd = true;
findOptions.LookInType = asd ? LookInType.Values : LookInType.OriginalValues;
SearchInCells(cells, searchTerm, findOptions);
findOptions.LookInType = LookInType.OnlyFormulas;
SearchInCells(cells, searchTerm, findOptions);
findOptions.LookInType = LookInType.Comments;
SearchInCells(cells, searchTerm, findOptions);
Can I somehow do it in one yield?