Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: java code for cell color change in excel

  1. #1
    Junior Member
    Join Date
    Dec 2020
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default java code for cell color change in excel

    Hi Team,
    I have status column in excel my requirement is if status=met then the cell color should change in green if status=not met then the cell color should change in to red color. Please help me with Java code.

    Thanks in adv,

    Hi Team,
    I have status column in excel my requirement is if status=met then the cell color should change in green if status=not met then the cell color should change in to red color. Please help me with Java code.

    Thanks in adv,
    Last edited by Norm; December 1st, 2020 at 07:01 AM. Reason: Duplicates

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: java code for cell color change in excel

    Please post the java code you are working with.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Dec 2020
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: java code for cell color change in excel

    Quote Originally Posted by Norm View Post
    Please post the java code you are working with.
    I have only requirement which i have posted can you please help me with sample code

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: java code for cell color change in excel

    Sorry, I do not have any code.
    I can try to help you with the code you write. What have you tried?
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. change color according to the value of a cell
    By paps in forum Java Theory & Questions
    Replies: 12
    Last Post: July 30th, 2020, 12:36 PM
  2. cell size excel and java
    By glprobot in forum Loops & Control Statements
    Replies: 28
    Last Post: August 26th, 2019, 02:00 AM
  3. Get Cell value in Excel to TextField
    By mdhs in forum What's Wrong With My Code?
    Replies: 1
    Last Post: September 16th, 2014, 08:18 AM
  4. Excel Text Box to string in a cell
    By ecornes in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 12th, 2012, 01:34 PM
  5. set Background Excel cell color using POI API
    By ngamal in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 26th, 2011, 11:20 AM

Tags for this Thread