Hi Team,
I am using Java + Aspose 8.5.1.0
My requirement is to get row, who is satisfying the data. Suppose below rows present in excel file, and requirment is get row number, where I get
test8 | test9 | test10 |
test1 | test2 | test3 |
test4 | - | test5 |
- | test8 | test7 |
test8 | test9 | test10 |
- | - | test11 |
- | test8 | test13 |
test14 | test15 | test16 |
Any help for this search. I try the below code, but it search perticular cell data only.
String text = "test";
FindOptions findOptions = new FindOptions();
findOptions.setCaseSensitive(false);
findOptions.setLookInType(LookInType.VALUES);
findOptions.setSeachOrderByRows(true);
Cell foundCell = cells.find(text, null, findOptions);
//If a cell found with the value
if (foundCell != null)
{
int row = foundCell.getRow();
String name = foundCell.getName();
System.out.println(name);
//Your code goes here.
}