Automating Password protection

J

JGM

Hi John,

What kind of password?
For opening the document, for modifying it or for form protection?

Also, do you want to generate a password when creating a document through
VB, or automatically open a protected document with a given password when
opening it from a VB app?

Cheers!
 
G

Guest

Sorry I was vague.

I want it to track changes with a password so the people I
send the document to cannot change it without me knowing.

The document is not protected as of now.

What I did was open up a mail merge document, merge it and
create a new document. And I want to track the changes on
the new document.

Thanks!
 
J

JGM

Hi John,

Use something like:

'To turn on Track changes
ActiveDocument.TrackRevisions = True
'To set the password against revision
ActiveDocument.Protect Password:="123", NoReset:=True, Type:= _
wdAllowOnlyRevisions

HTH
Cheers!
--
_______________________________________
Jean-Guy Marcil
(e-mail address removed)

<[email protected]> a écrit dans le message de [email protected]...
Sorry I was vague.

I want it to track changes with a password so the people I
send the document to cannot change it without me knowing.

The document is not protected as of now.

What I did was open up a mail merge document, merge it and
create a new document. And I want to track the changes on
the new document.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top