![]() |
#4
|
||||
|
||||
![]()
You could, for example, use a wildcard Find/Replace, using:
Code:
With .Find .ClearFormatting .Replacement.ClearFormatting .Text = StrTxt & "[,. ]@<*>[,. ]@<*>[,. ]@<*>[,. ]@<*>[,. ]@" .Replacement.Text = "^&" & Chr(123) .Forward = True .Wrap = wdFindcontue .Format = False .MatchWildcards = True .Execute Replace:=wdReplaceAll End With
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
wondermuse | Word | 5 | 10-09-2014 06:30 AM |
![]() |
Byron Polk | Word VBA | 4 | 08-07-2014 03:21 AM |
![]() |
pmstock | Word | 2 | 08-02-2014 08:34 PM |
![]() |
donaldadams1951 | Word VBA | 5 | 12-03-2013 10:08 AM |
Move pst location? | markg2 | Outlook | 0 | 06-29-2013 11:00 AM |