J
Jack_Feeman
What have I forgotten in getting this macro to run when a user clicks a
checkbox that has this macro indicated on the run on entry parameter of the
checkbox form field options box:
"Sub continue11()
'
' continue11 Macro
' Macro recorded 8/22/2005 by Jack Feeman
'
Selection.GoTo What:=wdGoToBookmark, Name:="Text11"
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
Selection.Collapse
End Sub
"
It runs fine if I put it in the Run on exit parameter but I need it to
"when" the continue checkbox is clicked. The macro takes the user to a text
form field (Text11) on a continuation page of the form when the appropriate
check box is clicked.
Thanks
checkbox that has this macro indicated on the run on entry parameter of the
checkbox form field options box:
"Sub continue11()
'
' continue11 Macro
' Macro recorded 8/22/2005 by Jack Feeman
'
Selection.GoTo What:=wdGoToBookmark, Name:="Text11"
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
Selection.Collapse
End Sub
"
It runs fine if I put it in the Run on exit parameter but I need it to
"when" the continue checkbox is clicked. The macro takes the user to a text
form field (Text11) on a continuation page of the form when the appropriate
check box is clicked.
Thanks