Hi Everyone,
Already i have done grid to excel export but now i need to change the cell backcolor or cell color with user defined values.did anyone pass through this.
Please share the code guys or your ideas
Cheers
Narasimman
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
narasimman gPosted Jan 26, 2011, 11:09 PM
thanks for the post
Already i have done the cell text color using below property.
xlWorkSheet.Application.ActiveCell.Font.ColorIndex = 30;
but ur code snippet is pure and clean
I need to change the cell background color:( stickin with it!! any helppppp
cheers
Suthish NairPosted Jan 24, 2011, 6:09 AM
narasimman gPosted Jan 23, 2011, 10:05 AM
Already i have done with excel creation!!! need to format the cells !!!! please look my exisiting thread for excel creation
http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=103625
Suthish NairPosted Jan 23, 2011, 5:10 AM