G
Greg
Vicky,
I am by no means a master of the macro art and a better
solution is likely to come along. The following example
set to fire on exit from the first text formfield in the
document will move to the fifth field if the first field
result is "Yes." It will move to the second field on any
other input. Perhaps you could adapt it to your needs.
Sub Macro1()
With ActiveDocument
If .FormFields("Text1").Result = "Yes" Then
Selection.GoTo What:=wdGoToBookmark, Name:="Text5"
Else
Selection.GoTo What:=wdGoToBookmark, Name:="Text2"
End If
End With
End Sub
so when the user opens document they see the info they
need to fill in. What I would like to do is apply more
fields? or macros so that when the user enters the info,
if for example the answer is YES, the macro would move
them onto part of the table. Anybody got any ideas on how
to do this or even if it can be done.
I am by no means a master of the macro art and a better
solution is likely to come along. The following example
set to fire on exit from the first text formfield in the
document will move to the fifth field if the first field
result is "Yes." It will move to the second field on any
other input. Perhaps you could adapt it to your needs.
Sub Macro1()
With ActiveDocument
If .FormFields("Text1").Result = "Yes" Then
Selection.GoTo What:=wdGoToBookmark, Name:="Text5"
Else
Selection.GoTo What:=wdGoToBookmark, Name:="Text2"
End If
End With
End Sub
columns. There are Fill in fields set in the 2nd column,-----Original Message-----
I have a template that consists of a table of two
so when the user opens document they see the info they
need to fill in. What I would like to do is apply more
fields? or macros so that when the user enters the info,
if for example the answer is YES, the macro would move
them onto part of the table. Anybody got any ideas on how
to do this or even if it can be done.