Tab to a CheckBox Form Field

C

CoachTony

Hello,

I am using the methods decribed on this site to set the tab order by
assisgning an exit macro for each form field on my MS Word template, it works
great with text fields.

However, I can not get it to tab to the next field if it is a check box type
of form field.

here is the code I am using:
Sub ExitContactDate()
ActiveDocument.Bookmarks("chkVisit").Range.Fields(1).Result.Select
End Sub

Any thoughts on how to accomplish this?
 
H

Helmut Weber

Hi Tony
ActiveDocument.Bookmarks("chkVisit").Range.Fields(1).Result.Select

I don't think that you can select the result of a field.

Try:
ActiveDocument.Fields(3).Select
or
ActiveDocument.Bookmarks("check1").Range.Select

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 
Top