0

I want to know how to set color to cells in Excel using JExcel API. A sample program would do as an example.

sanghavi7
  • 758
  • 1
  • 15
  • 38
user1971760
  • 39
  • 1
  • 2

1 Answers1

2

Before asking questions google your issues first of all, then ask it here;
i think you're looking for jxl.format.color

You may also look into the following thread Making new colors in JExcelApi

you'll have to use jxl.write.label to include color to your cell

Label label_name = new Label(col_num, row_num, "value", getCellFormat(Colour.GREEN, Pattern.GRAY_25));
Community
  • 1
  • 1