Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub FieldEnter()
If ActiveDocument.FormFields(Selection.Bookmarks(1).Name).Previous Is Nothing Then
With ActiveDocument.FormFields(ActiveDocument.FormFields.Count)
If Trim(.Result) = "" Then
.Select
End If
End With
Else
With ActiveDocument.FormFields(Selection.Bookmarks(1).Name).Previous
If Trim(.Result) = "" Then
.Select
End If
End With
End If
End Sub
Sub FieldExit()
Dim obFF As FormField
With ActiveDocument
Set obFF = .FormFields(Selection.Bookmarks(1).Name).Previous 'PREV FormField
If obFF Is Nothing Then _
Set obFF = .FormFields(.FormFields.Count) 'LAST FormField
With obFF
If Trim(.Result) = "" Then _
.Select
End With
End With
Set obFF = Nothing
End Sub