S
Steved
Hello from Steved
Below finds the the first word on a line
Question when found is ti posiible to trim to 15 characters include spaces
in the below macro please.
an example could be "the cat won the show"
it would end up as "the cat won the"
Selection.Find.ClearFormatting
With Selection.Find
.Text = "<[A-Za-z]@>"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindAsk
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchAllWordForms = False
.MatchSoundsLike = False
.MatchWildcards = True
End With
Thankyou.
Below finds the the first word on a line
Question when found is ti posiible to trim to 15 characters include spaces
in the below macro please.
an example could be "the cat won the show"
it would end up as "the cat won the"
Selection.Find.ClearFormatting
With Selection.Find
.Text = "<[A-Za-z]@>"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindAsk
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchAllWordForms = False
.MatchSoundsLike = False
.MatchWildcards = True
End With
Thankyou.