Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
hide all text between [ ] (square brackets) and hide thebrackets.
Hello,
I would like a Microsoft macro that would hide all text between [ ] (square brackets) and hide the brackets. Can anyone provide this? Thank-you. JB |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
hide all text between [ ] (square brackets) and hide the brackets.
With Selection
With .Find .ClearFormatting .Replacement.ClearFormatting .Text = "\[*\]" .Replacement.Text = "^&" .Replacement.Font.Hidden = True .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True .Execute Replace:=wdReplaceAll End With End With http://www.gmayor.com/installing_macro.htm jbesr1230 wrote: Hello, I would like a Microsoft macro that would hide all text between [ ] (square brackets) and hide the brackets. Can anyone provide this? Thank-you. JB |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do i hide the grayed out margin brackets on word doocuments | Microsoft Word Help | |||
Clicking Show/Hide Button still can't hide the arrows-formatting m | Microsoft Word Help | |||
TOC field codes will not hide when commanded by HIDE/SHOW tile. | Microsoft Word Help | |||
Appearance of square brackets within text | New Users | |||
HIDE TEXT ??? | Page Layout |