View Single Post
  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Jollans Tony Jollans is offline
external usenet poster
 
Posts: 1,308
Default Password error from Word2003 to Word2007

OK - I can duplicate this on SP2. It doesn't need any macros. Open a .doc
protected form and save it as a .docx in SP2, close it reopen it, and the
password is invalid.

I'll see what I can find out.

--
Enjoy,
Tony

www.WordArticles.com

"Lorenz Hölscher" wrote in message
...
Hi Tony and all the others,

we found new hints! The error needs a macro with
Public const p_cstrPW = "abc"

ActiveDocument.Protect wdAllowOnlyFormFields, True, p_cstrPW
and another macro with
ActiveDocument.Unprotect p_cstrPW

Between running those two macros you have to save, close and open the
document. With a non-SP2 Office 2007 this will work correctly, with a
SP2 Office 2007 there is the "incorrect password" error!

Can anyone proove this?

Thanks, Lorenz