We generate documents(invoices) that are Protected, Forms with a specific password. for formatting purposes a specific print form is called.
other documents are Protected forms, setup with formfields no password. These documents are setup with a straight toggle on/off for Protect/Unprotect document These docs require regular printing.
The different tests for protected documents "wdProtectionType" are:
The problems is both these documents return "wdAllowOnlyFormFields", because they are these types of docs. One has a specific password the other protected doc doesnt have a password.
If I do some fine tuning code - and test by adding the specific password eg
If specific password = "" then...
the result is both documents are unlocked
Anyone else encounter this issue? Is this a limitation of Word and working with protected documents?
any ideas on how i can display the different forms for the different types of protected documents?