![]() |
|
#1
|
||||
|
||||
![]()
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] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
bertietheblue | Word Tables | 2 | 07-26-2015 07:26 AM |
![]() |
footer-assistance | Word | 1 | 06-29-2015 03:49 AM |
![]() |
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 |
![]() |
Bobosmite | Word | 2 | 05-06-2011 04:21 AM |