One question, I am using apache poi and I would like to know if anyone here knows how to apply a border style to a cellrangeaddress, I am using apache poi 3.14.
I really have little using this tool, what I have done is:
-assign in the cellstyle the border style styleCT.setBorderBottom (CellStyle.BORDER_MEDIUM);
-I believe the cellrangeaddress and assigned that style.
header = row.createCell (5); sheet.addMergedRegion (new CellRangeAddress (20,20,5,6)); header.setCellValue (pesogm2); header.setCellStyle (styleCT);
but only the first cell takes it.
Does anyone know how I could do to take the whole set of cells?
Thank you in advance for your help.