Setting an Excel cell background color
December 9th, 2009
Description:
Set a cell’s solid background color using a single user-defined color.
Code:
using System.Drawing;
using Microsoft.Office.Interop.Excel;
Range range = <get your range>;
range.Interior.Color = ColorTranslator.ToOle(Color.PaleGreen);
