Color cell vb.net/LINQ

Hi

We can use the same with a simple if condition and a Ser range Color activity like this

Row(“NAMECOLUNN”).ToString.Contains(“NOK”)

If true it goes to then block where use set range Color and mention the same expression as you had like System.Drawing.Color.Red

And same with else block like
System.Drawing.Color.Green

Cheers @Luan

1 Like