G
Guest
I have a macro that send the document to email as an attachment that works
fine. I also added another command that unlocks the document when it is
being attached. What I would like to do is have the original document stay
protected and only have the attached copy unprotected. Here is what I have
so far, and it does work, but like I say I want the original document to stay
protected. I am very new to this and learning as fast as I can.
Thanks Mike
Private Sub CommandButton1_Click()
Options.SendMailAttach = True
ActiveDocument.SendMail
Unprotect Password:="shops05"
End Sub
fine. I also added another command that unlocks the document when it is
being attached. What I would like to do is have the original document stay
protected and only have the attached copy unprotected. Here is what I have
so far, and it does work, but like I say I want the original document to stay
protected. I am very new to this and learning as fast as I can.
Thanks Mike
Private Sub CommandButton1_Click()
Options.SendMailAttach = True
ActiveDocument.SendMail
Unprotect Password:="shops05"
End Sub