![]() |
|
#1
|
|||
|
|||
![]()
Also, I did try this using styles but couldn't get it to work. I must not have the right syntax to detect and replace on styles instead of fonts.
I tried something like this: Code:
Dim oRng As Word.Range Set oRng = ActiveDocument.Range With oRng.Find .Text = " in " .ClearFormatting .Style.Name = "<my style name here>" .Font.Size = 8 .Replacement.ClearFormatting .Replacement.Style.Name = "<my replacement style name here>" .Execute Replace:=wdReplaceAll End With |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
SteveWcg | Word | 5 | 01-08-2014 10:37 PM |
Can't change color of text in table style | ABode | Word | 6 | 12-03-2013 07:45 AM |
Find and replace multiple documents change style | BaPW | Word | 0 | 08-14-2011 11:12 AM |
How to find a specific word in Powerpoint? | Ozard80 | PowerPoint | 0 | 05-11-2011 04:42 PM |
Highlight text and find next instance | DrDOS | Word | 0 | 11-15-2010 04:02 PM |