Often I need to write a text in Word explaining steps. I must admit that often I inserted a textbox to copy in there a text of a configuration file, script or whatever. This was slow and is sometimes not very pratical.
The easiest way is just to set the background of the text using the fill option which is faster and more practical.