Macro to change the Background color in 2007

A

Angyl

I've changed the Normal.dotm template in Word 2007 to include a dark blue
background but apparently the Normal.dotm doesn't store the background color
(all my new documents are still white).

So how would I go about making an AutoNew macro that will change the color
for me?
 
G

Greg Maxey

Something like this:

Sub AutoNew()
With ActiveDocument.Background.Fill
.ForeColor.ObjectThemeColor = wdThemeColorText2
.ForeColor.TintAndShade = -0.25
.Visible = msoTrue
.Solid
End With
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top