Setting Excel Cell Colours using RGB Values

Viewed 11785

I'm trying to set Excel cells using RGB values rather than the way I do it currently as i need to set cells to a specific colour rather than a set standard colour.

This is how i currently do it:

ChartRange.Interior.Color = Microsoft.Office.Interop.Excel.XlRgbColor.rgbRed;

Is it possible to set colour in RGB values in C#?

I am working with Excel sheets that have had the colours set by RGB values in VBA.

2 Answers
Related