Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Hello,
I would like a macro the would make all text between braces "[ text ]" green, bold and in times new roman font size 14. All, if possible the macro would remove the braces when done. Thank-you. JB |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Sub ReplaceExample()
With Selection .HomeKey unit:=wdStory With .Find .ClearFormatting .Replacement.ClearFormatting '********************** .Text = "\[(*)\]" .Replacement.Text = "\1" .Replacement.Font.name = "Times New Roman" .Replacement.Font.Color = wdColorGreen .Replacement.Font.Bold = True '********************** .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True .Execute Replace:=wdReplaceAll End With End With End Sub http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org jbesr1230 wrote: Hello, I would like a macro the would make all text between braces "[ text ]" green, bold and in times new roman font size 14. All, if possible the macro would remove the braces when done. Thank-you. JB |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Times New Roman Bold? | Microsoft Word Help | |||
Times New Roman Bold Issues | Microsoft Word Help | |||
Font anomaly - Times New Roman Bold | Microsoft Word Help | |||
Font "Times New Roman" switches to "Times" without warning. | Microsoft Word Help | |||
Why does Word 2003 "find" text only a few times? | Microsoft Word Help |