B
BMC
I have a VBA script which loops through all the Word documents in a directory
and its subdirectories, opens each then makes a change (path to attached
template), saves and closes.
All good so far, but where a document is password protected, the password
prompt appears, which is no good as this is to be an automated, unattended
process on thousands of documents.
So I need to be able to detect if a document is password protected so that
it can be noted and skipped.
and its subdirectories, opens each then makes a change (path to attached
template), saves and closes.
All good so far, but where a document is password protected, the password
prompt appears, which is no good as this is to be an automated, unattended
process on thousands of documents.
So I need to be able to detect if a document is password protected so that
it can be noted and skipped.