W
WolfgangJ
Hi,
I would like to use a macro just to open the
"go to a bookmark" feature of Word.
If I record a macro then it always goes to a SPECIFIC bookmark
e.g. "finance". Otherwise the macro-recorder doesn't record anything.
How do I modify the recorded macro ?
Enclosed the recorded macro
Thank you,
Wolfgang
Sub textMarker()
Selection.GoTo What:=wdGoToBookmark, Name:="finance"
Selection.Find.ClearFormatting
With Selection.Find
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
End Sub
I would like to use a macro just to open the
"go to a bookmark" feature of Word.
If I record a macro then it always goes to a SPECIFIC bookmark
e.g. "finance". Otherwise the macro-recorder doesn't record anything.
How do I modify the recorded macro ?
Enclosed the recorded macro
Thank you,
Wolfgang
Sub textMarker()
Selection.GoTo What:=wdGoToBookmark, Name:="finance"
Selection.Find.ClearFormatting
With Selection.Find
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
End Sub