![]() |
#1
|
|||
|
|||
![]()
Hello!
I'm having trouble with Find and Replace VBA macros: Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "%" .Replacement.Text = " PERCENT" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = True .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With Selection.Find.Execute Replace:=wdReplaceAl ' Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "/" .Replacement.Text = " " .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = True .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With Selection.Find.Execute Replace:=wdReplaceAl It will find the charaters but will not replace them. Please help! |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
alex100 | Word VBA | 5 | 07-08-2020 04:14 AM |
![]() |
Surge | Word | 6 | 03-10-2020 12:42 AM |
![]() |
kvnrao | Word VBA | 7 | 11-02-2018 06:28 PM |
![]() |
mauuuuu5 | Word | 1 | 08-23-2015 09:20 PM |
![]() |
kjxavier | Word | 1 | 01-02-2015 12:15 AM |