Results 1 to 2 of 2
  1. #1
    KalemKutu is offline Member
    Join Date
    Jan 2017
    Posts
    3
    Rep Power
    0

    Default CellRange - color

    Hi,

    I can set a style for 1 cell, such

    PHP 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

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: CellRange - color

    You can do it for a column as a whole (ColumnHelper), but not sure about for a handful of cells in a row.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. RGB to Color Name
    By zit1343 in forum Advanced Java
    Replies: 12
    Last Post: 04-24-2011, 06:02 PM
  2. RGB from Color Name
    By winklerd in forum Advanced Java
    Replies: 5
    Last Post: 03-26-2010, 05:16 PM
  3. [COLOR="Navy"]execute .bat file in mysql [/COLOR]
    By msankar.ravi in forum Networking
    Replies: 0
    Last Post: 02-24-2010, 04:27 AM
  4. A bit of color!
    By tim in forum Java 2D
    Replies: 8
    Last Post: 02-11-2008, 11:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •