The information in this article applies to:
SUMMARYIn a Microsoft Word macro, if you use the FileNew command to create a new document or template based on a password-protected template, you receive a prompt for the template's password. The only way to avoid receiving this prompt is to have the specified template already open. MORE INFORMATION
In Word macros, the FileOpen command may use a PASSWORDDOC and/or a
PASSWORDDOT field to provide the password for the given document and/or the
template that it is based on. The FileNew command does not have either of
these fields; therefore, when you create a new document or template based
on a specific template, you cannot specify a password inside the macro to
avoid the password prompt.
Q79644 WinWord: Assigning Passwords to Template FilesKbcategory: kbusage kbmacro Additional query words: 2.0 winword2 6.0.1 winword word6 wordbasic statement protection macword
Keywords : winword word6 winword2 |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |