Ram Prasad

Ram Prasad

  • NA
  • 326
  • 18.4k

Console.Backgroundcolor and para.Range.Shading.Background

Mar 9 2020 12:29 AM
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. 

Answers (1)