Mervyn
Mervyn

Reputation: 891

Find the highest column of each worksheet

Is there a way to get the highest column value for example the highest column that contains values. using getWorksheetIterator. I want to get the column and use that to clean cells upto the highest column.

Upvotes: 1

Views: 3016

Answers (1)

Mark Baker
Mark Baker

Reputation: 212412

A simple call to the getHighestDataColumn() method for the worksheet should give you this

Upvotes: 5

Related Questions