Quantcast
Channel: Java Programming Forum - Learn Java Programming - Apache POI
Viewing all articles
Browse latest Browse all 120

CellRange - color

$
0
0
Hi,

I can set a style for 1 cell, such

Code:

XSSFCell cell = sheet.getRow(0).createCell(0);
cell0.setCellStyle(my_defined_style);

BUT, how do I do this for certain cellrange, such

start_row=1
end_row=1

start_column=10
end_column=20


Thanks, Kalem

Viewing all articles
Browse latest Browse all 120

Trending Articles