Adding a password to a document before emailing

Elmobram22

Registered User.
Local time
Today, 19:00
Joined
Jul 12, 2013
Messages
165
Hi all,

I have built a simple database (by no means complete) but I am after adding some further code into it. Basically on the form [FrmMain] I have a button that allows me to send a document to a relevant CSU contact. It finds the file name based on the info in the table TblResident. What I want to do is open the word document before sending and add a password to it using vba. Any help you have would be greatly appreciated.

Cheers,

Paul
 

Attachments

You'll need to open the document and use the Password method of the document to password protect it. This is a Word VBA question.
 

Users who are viewing this thread

Back
Top Bottom