I am trying to save output of my program on a word file. My current console application generates random numbers which may or may not be highlighted in different color background. I succeeded in transferring the numbers, but for background color it seems like I have to somehow make a connection between 'Console.BackgroundColor = item.color' and 'para.Range.Shading.BackgroundPatternColor'.
Can someone guide me on how to do that or if there is any other way to do the same. Any help is very much appreciated.