The information in this article applies to:
SYMPTOMS
In a Visual Basic, Applications Edition, macro, the Unprotect method
will not prompt the user for a password when that user attempts to
unprotect a workbook if the "password" argument is omitted.
If the argument is omitted and the workbook has a password, you will be prompted for the password.This information is incorrect. When you use the Unprotect method to remove protection from a workbook and you do not use the "password" argument, if the workbook has a password, Microsoft Excel returns the error, "Incorrect Password" and does not remove the protection. WORKAROUND
If the workbook is password protected, the "password" argument of the
"Unprotect" method must be used and the correct password must be specified.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post more information here in the Microsoft Knowledge Base as it becomes available. Additional query words: 5.00a 5.00c
Keywords : kbmacro kbprg kbdocerr |
Last Reviewed: December 31, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |