Hii,

I want to create AutoFilters at multiple places in an excel sheet using Apache POI. (e.g. at row 2 & at row 8).

Java Code:
hssfSheet.setAutoFilter(new CellRangeAddress(2, 4, 6, 3)); 
hssfSheet.setAutoFilter(new CellRangeAddress(8, 5, 3, 5));
I've been adding it like mentioned above but second filter is overriding the first one and when excel sheet is created I can see only one.
Can someone help me.

Thanks.