Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
vba Word 2003 modify headers
I have a macro to run through the document and change all my red text to
blue, but it doesn't affect my headers. How do I get it to incorporate my headers as well? Public Sub Red2Blue() With ActiveDocument.Content.Find .ClearFormatting .Font.Color = wdColorRed With .Replacement .ClearFormatting .Font.Color = wdColorBlue End With .Execute FindText:="", ReplaceWith:="", Format:=True, Replace:=wdReplaceAll End With End Sub |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
vba Word 2003 modify headers | Microsoft Word Help | |||
How do I modify a paragraph style in VBA? | Microsoft Word Help | |||
Modify Object in Word with VBA | Microsoft Word Help | |||
Word 2003 can't modify all table formats | Tables | |||
Excel 2003, Word 2003, Equation Editor, VBA | Microsoft Word Help |