Excel 1.00-1.50: Protect Document with Password Through MacroLast reviewed: October 31, 1994Article ID: Q31947 |
SUMMARYIn Microsoft Excel versions 1.50 and earlier, there is no direct method to protect or unprotect a document with a password. To protect a document with a password, use the PROTECT.DOCUMENT? macro command. The PROTECT.DOCUMENT? macro command will bring up the Protect Document dialog box. Type in the password in the dialog box and click OK.
MORE INFORMATIONIn Excel version 2.20, the PROTECT.DOCUMENT? macro command has a new parameter for a password so that a document can be protected with a password directly from the macro.
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |