R
rachelle34
I have this code:
With Selection.Find
..Text = "From(*)RESTRICTED(*)Subject: O"
..Replacement.Text = "O"
..Forward = True
..Wrap = wFindContinue
..Format = False
..MatchCase = False
..MatchWholeWord = False
..MatchSoundsLike = False
..MatchAllWordForms = False
..MatchWildcards = True
End With
Selection.Find.Execute Replace:=wdReplaceAll
It's there to remove a header from an email document. So instead of
finding the first occurrence of 'Subject: O', it finds the last. Is
there some way to make it not do that?
Help?
_____
RAM
With Selection.Find
..Text = "From(*)RESTRICTED(*)Subject: O"
..Replacement.Text = "O"
..Forward = True
..Wrap = wFindContinue
..Format = False
..MatchCase = False
..MatchWholeWord = False
..MatchSoundsLike = False
..MatchAllWordForms = False
..MatchWildcards = True
End With
Selection.Find.Execute Replace:=wdReplaceAll
It's there to remove a header from an email document. So instead of
finding the first occurrence of 'Subject: O', it finds the last. Is
there some way to make it not do that?
Help?
_____
RAM