![]() |
#4
|
||||
|
||||
![]()
That's as simple as:
Code:
With ActiveDocument.Range.Find .ClearFormatting .Replacement.ClearFormatting .Text = "([0-9])%(-[0-9])" .Replacement.Text = "\1\2" .Forward = True .Format = False .Wrap = wdFindContinue .MatchWildCards = True .Execute Replace:=wdReplaceAll End With
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Aswinraj | Word VBA | 1 | 06-05-2016 04:33 PM |
Find and Replace Macro Need | djpemberton | Word VBA | 2 | 05-04-2016 07:53 PM |
![]() |
amparete13 | PowerPoint | 3 | 03-11-2014 05:29 AM |
![]() |
bennymc | Word VBA | 1 | 01-27-2014 04:23 PM |
Find and Replace Macro - A Better Way | Tribos | Word VBA | 0 | 10-08-2008 03:22 AM |