MS Word VBA in Forms modified...

G

Guest

Sub ExitText37()
ActiveDocument.Bookmarks("Text76").Range.Fields
(1).Result.Select
End Sub
I have reread my earlier post and it doesn't explain what
my problem is, so here it is again,
I got this text from this website, and it works well.

Sub ExitText38()
ActiveDocument.Bookmarks("Text39").Range.Fields
(1).Result.Select
End Sub

Sub ExitText76()
ActiveDocument.Bookmarks("Text77").Range.Fields
(1).Result.Select
End Sub

Sub ExitText77()
ActiveDocument.Bookmarks("Text78").Range.Fields
(1).Result.Select
End Sub

I would like to step from a Text78 field in my WordXP Form
to a Check1 on the form.
My numerous guesses and tests won't do this, so does
anyone have the right syntax that would help me do this?
Thank you.
 
H

Helmut Weber

Hi,
like this:
Sub GotoCheck01()
ActiveDocument.Bookmarks("Check01").Range.Fields(1).Select
End With
End Sub
 
P

Peter Gersbach

Thank you Helmut, that worked. I don't know what I was
doing wrong before, but it works now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top