poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwings <kiwiwi...@apache.org>
Subject Re: sheet.removeMergedRegion throwing Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
Date Wed, 15 May 2019 12:42:34 GMT
How about always removing index 0?

for (int i = 0; i < totalMergedRegions; i++){ 
    sheet.removeMergedRegion(0); 
}



--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message