R
Robert H
I need to find a character then select to the end of the current line,
but not select anything in front of the character. Later I will make
a font change but I can work that out...
Im working with:
With Selection.Find
.Text = myCharacter
.Forward = True
.Wrap = wdFindAsk
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute
Selection.Select
Selection.Expand Unit:=wdWord
Selection.Select
Im trying different things in the WdUnits items and using the expand
function but I am stumped at this point.
Any help will be appreciated
Robert
but not select anything in front of the character. Later I will make
a font change but I can work that out...
Im working with:
With Selection.Find
.Text = myCharacter
.Forward = True
.Wrap = wdFindAsk
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute
Selection.Select
Selection.Expand Unit:=wdWord
Selection.Select
Im trying different things in the WdUnits items and using the expand
function but I am stumped at this point.
Any help will be appreciated
Robert