Thanks for your posting and considering Aspose.Cells for Java.
I tried the following code using the latest version:
for Java v188.8.131.52
and it is working fine.
I have attached the source and the output xlsx file.
//Instantiating a Workbook object
Workbook workbook = new Workbook(filePath);
//Accessing the first worksheet in the Excel file
Worksheet worksheet = workbook.getWorksheets().get(0);
Cells cells = worksheet.getCells();
//Hiding the 3rd row of the worksheet
//Hiding the 2nd column of the worksheet
//Saving the modified Excel file in default (that is Excel 2003) format
workbook.save(filePath + “.out.xlsx”);