![]() |
|
#15
|
||||
|
||||
|
In that case, all you really needed was:
Code:
Sub CleanUpBrakets()
Application.ScreenUpdating = False
With ActiveDocument.Range.Find
.ClearFormatting
.Replacement.ClearFormatting
.Wrap = wdFindContinue
.Format = False
.MatchWildcards = False
.Text = "^w["
.Replacement.text = "^l["
.Execute Replace:=wdReplaceAll
End With
Application.ScreenUpdating = True
End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Bold numbers between square brackets
|
jeffreybrown | Word | 4 | 02-13-2017 04:32 PM |
Help with: Replace and reformat numbers inside square brackets
|
johnbrowny | Word | 1 | 02-13-2016 06:45 PM |
| Gray square brackets | waldux | Word | 8 | 09-25-2013 04:14 PM |
square brackets and grey background – why?
|
eNGiNe | Word | 2 | 11-21-2012 01:06 AM |
Filled square
|
daksein | Drawing and Graphics | 4 | 06-21-2011 02:36 AM |