I can change the background colors and patterns of a document in MS Word (2010) by clicking on Page Layout, then on Page Color, and then I can choose all sorts of delicious backgrounds in different colors. If I use the VBA editor to record those changes, I get a script like this:
ActiveDocument.Background.Fill.ForeColor.RGB = RGB(102, 153, 255)
ActiveDocument.Background.Fill.Transparency = 0#
(That is a very simple background, but it can easily get more complicated.) If I run such a macro on a blank document, nothing happens.
What should I do to get VBA to give me different backgrounds?