F
Fred Kruger
can anyone tell me how to unprotect and reportect
documents with different passwords.
I know the usual protect and unprotect but what i want is
for the code to check if possible which password was used
to unlock the form and then re use it to reprotect it.
I produce forms for my company which are protected for
formfields and uses a password to allow the formfields to
be spell checked i also use the spellcheck from the
MVPwebsite. But my company also buys templates in for use
with a national based system and these documents have
different passwords.
So when the spell check is run a runtime error occurs or
the user has to put in the passords each time which is
not ideal.
So can anyone tell me how to check to see what password
is used to unlock the form and use thesame to reprotect
it.
Cheers
Fred
documents with different passwords.
I know the usual protect and unprotect but what i want is
for the code to check if possible which password was used
to unlock the form and then re use it to reprotect it.
I produce forms for my company which are protected for
formfields and uses a password to allow the formfields to
be spell checked i also use the spellcheck from the
MVPwebsite. But my company also buys templates in for use
with a national based system and these documents have
different passwords.
So when the spell check is run a runtime error occurs or
the user has to put in the passords each time which is
not ideal.
So can anyone tell me how to check to see what password
is used to unlock the form and use thesame to reprotect
it.
Cheers
Fred