S
SITCFanTN
I have a protected form that I'm having folks fill out and e-mail to me via a
command button on the form. One of the field on the form is "current date".
If I set the properties to prefill current date, the form errors....if I just
have the properties set to date, not current date, it works fine. Am I
missing something in the code. The code behind the button is below
Private Sub CommandButton1_Click()
ActiveDocument.HasRoutingSlip = True
With ActiveDocument.RoutingSlip
.Subject = "Updates"
.AddRecipient "(e-mail address removed)"
.Delivery = wdAllAtOnce
End With
ActiveDocument.Route
End Sub
command button on the form. One of the field on the form is "current date".
If I set the properties to prefill current date, the form errors....if I just
have the properties set to date, not current date, it works fine. Am I
missing something in the code. The code behind the button is below
Private Sub CommandButton1_Click()
ActiveDocument.HasRoutingSlip = True
With ActiveDocument.RoutingSlip
.Subject = "Updates"
.AddRecipient "(e-mail address removed)"
.Delivery = wdAllAtOnce
End With
ActiveDocument.Route
End Sub