e-mail word doc

S

SITCFanTN

I'm using this code to e-mail a protected word doc as an attachment via
outlook but it keeps erroring, any suggestions is appreciated, thank you

Private Sub CommandButton1_Click()

ActiveDocument.SendMail
.Subject = "Request Form"
.AddRecipient "[email protected]"
.Delivery = wdAllAtOnce
End With
End Sub
 
Top