View Single Post
  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Lorenz Hölscher Lorenz Hölscher is offline
external usenet poster
 
Posts: 17
Default Password error from Word2003 to Word2007

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