Change font colour

Need to change font colour of cell to grey using script

Hi @sruthesanju,

You can check this topic.

Dim style As Excel.Style = xlWorkSheet.Application.ActiveWorkbook.Styles.Add("NewStyle")
style.Font.Bold = True
style.Interior.Color = System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.Yellow)

xlWorkSheet.Cells(rownumber, 1).Style = "NewStyle" is not defined error

Hello @sruthesanju

Is it mandatory to use

Else please use the activity Format Cell to meet the requirement.

It’s manadatory use

I need to change the font colour not background colour plese to find code for this script

Any one can reply please

Hi @sruthesanju ,

Have you Checked the post below :