2003 document protection error when opened in 2002

A

aehan

I have protected a document programatically in Word 2003, protected for
forms.

ActiveDocument.Protect Password:="pass", noreset:=True, Type:= _
wdAllowOnlyFormFields, UseIRM:=False, EnforceStyleLock:=False

The code "UseIRM:=False" fails when someone tries to open the document from
Word 2002. Is there a work around this so that previous versions can open
it, or can that statement safely be left out of the code?

Thanks
Aehan
 
T

Tony Jollans

This can be worked around, but as you're not trying to use IRM, the
parameter can be safely left out of the code.
 

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