It’s safe to assume Style.Fill.BackgroundColor
and Style.Font.Color
are both of type ExcelColor
, so just use the same SetColor()
method you used to set the background color.
rowRngprogramParamsRange.Style.Font.Color.SetColor(Color.Red);
It’s safe to assume Style.Fill.BackgroundColor
and Style.Font.Color
are both of type ExcelColor
, so just use the same SetColor()
method you used to set the background color.
rowRngprogramParamsRange.Style.Font.Color.SetColor(Color.Red);