Determining Excel BG color in C# -
Determining Excel BG color in C# -
i need write app in c# opens excel file has rows have either ayellow, bluish or plain white background color, returns values in column 'a' not have white background(just yellowish or bluish values in column should returned).
i found code on info spreadsheet, don't have info on background color.
i can confirm, chris walsh's reply good. utilize microsoft office primary interop assemblies: http://www.microsoft.com/download/en/details.aspx?id=3508
you can take road of visual studio tools office recommend former, it's easier , cleaner.
here's code illustration shows how can set cell color, have sample of how access property.
http://forums.asp.net/t/1310118.aspx/1?changing+cell+color+of+excel+sheet+programatically+
c#
Comments
Post a Comment