Something like:
Code:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Dim oPar As Paragraph
For Each oPar In ActiveDocument.Paragraphs
If oPar.Range.Shading.BackgroundPatternColor <> wdColorAutomatic Then
oPar.Range.Shading.BackgroundPatternColor = wdColorAutomatic
oPar.Range.HighlightColorIndex = wdYellow
End If
Next oPar
lbl_Exit:
Exit Sub
End Sub
See:
http://gregmaxey.com/word_tip_pages/...ng_macros.html for instructions to employ the VBA code provided above.
See:
http://gregmaxey.com/word_tip_pages/...der_addin.html
The code above could easily be adapted to be run as a user defined batch process.