![]() |
|
#6
|
||||
|
||||
|
Try a wildcard Find/Replace, where:
Find = [!^13^11]@^0151[!^13^11]@[^13^11] Replace = ^& and you specify the replacement format as bold. As a macro, this might be implemented along the following lines: Code:
Sub Demo()
Application.ScreenUpdating = False
With ActiveDocument.Range
With .Find
.ClearFormatting
.Text = "[!^13^11]@^0151[!^13^11]@[^13^11]"
With .Replacement
.ClearFormatting
.Text = "^&"
.Font.Bold = True
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchWildcards = True
.Execute Replace:=wdReplaceAll
End With
End With
Application.ScreenUpdating = True
End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Adding bold colons at end of bold row headings
|
bertietheblue | Word Tables | 2 | 07-26-2015 07:26 AM |
Text in #1 is made bold, rest of the document is edited, text in #1 is now not bold
|
footer-assistance | Word | 1 | 06-29-2015 03:49 AM |
Delete does not bring second sentence closer to first sentence
|
Andoheb | Word | 29 | 07-03-2014 01:48 PM |
| Format Bold in one line makes all lines bold | Nitte | Word | 2 | 02-07-2013 12:34 AM |
Need Word to change -- (dash,dash) into one long dash.
|
Bobosmite | Word | 2 | 05-06-2011 04:21 AM |