D
DDawson
Is there a way to capture the manually entered password so that I can assign
it to macros?
As you may already know, the document needs to be unprotected for the macros
to run. Currently, I'm use the following example code in my Macros to protect
and unprotect the document:
If ActiveDocument.ProtectionType <> wdNoProtection Then
bProtected = True
ActiveDocument.Unprotect Password:="password1"
End If
I would like to be able to capture any password that is entered and define
it as a string, or something, then use something like:
If ActiveDocument.ProtectionType ...
ActiveDocument.Unprotect Password:= Defined Password
End If
Kind regards
Dylan
it to macros?
As you may already know, the document needs to be unprotected for the macros
to run. Currently, I'm use the following example code in my Macros to protect
and unprotect the document:
If ActiveDocument.ProtectionType <> wdNoProtection Then
bProtected = True
ActiveDocument.Unprotect Password:="password1"
End If
I would like to be able to capture any password that is entered and define
it as a string, or something, then use something like:
If ActiveDocument.ProtectionType ...
ActiveDocument.Unprotect Password:= Defined Password
End If
Kind regards
Dylan