When I find a difference between two excels files, I print it using the example DIFF command. Sch HI cell values (1 of 4)! Old and updated values for the cell location K40 (6.0 vs. 5.0)
I, therefore, need to print the box name in place of the cell position.
@Override
public void reportDiffCell(CellPos c1, CellPos c2) {
sheets.add(c1.getSheetName());
rows.add(c1.getRow());
cols.add(c1.getColumn());
results.add("DIFF Cell values at: " + c1.getCellPosition() + " => '" + c1.getCellValue()
+ "' v/s '" + c2.getCellValue() + "'");
}