Cell color change In Excel Using Conditional formatting in C#

Posted by Suryakavitha on Stack Overflow See other posts from Stack Overflow or by Suryakavitha
Published on 2010-03-16T09:19:19Z Indexed on 2010/03/16 9:56 UTC
Read the original article Hit count: 259

Filed under:
|
|

Hi,

I have exported datatable to excel successfully... Now i have to change some cell color using Conditional formatting in Excel sheet using C#.... For example if a cell contains text as "Cat" it should be display in Green color and if a cell contains text as "Dog" it should display in blue Color.... Now how can i do this ?

Plz Anyone tell me the solution of this ... or give me the code for it...

Thanks In Advance..

© Stack Overflow or respective owner

Related posts about c#

Related posts about msoffice