Excel: SAVE.AS Retains Password of Password-Protected Document

Last reviewed: November 29, 1994
Article ID: Q63963
The information in this article applies to:
  • Microsoft Excel forthe Macintosh, versions 2.2, 3.0, 4.0

SUMMARY

In Microsoft Excel, when the SAVE.AS command function is run on a password-protected document, the newly saved document will retain the password and will prompt for the password to be input any time the new sheet is opened. This will occur even if the password argument is not included in the SAVE.AS command.

Inserting two quotation marks ("") in the password argument of the second SAVE.AS command will save the worksheet without a password.

MORE INFORMATION

For example, the following command saves the worksheet "mysheet" with the password "test":

   =SAVE.AS("mysheet",1,"test",FALSE)

The following command will run a second SAVE.AS without a password:

   =SAVE.AS("myothersheet",1,"",FALSE)

Another method of saving without a password is to use the SAVE.AS? command to generate a Save As dialog box. This will allow the password to be deleted or changed before saving the document.


KBCategory: kbusage
KBSubcategory:

Additional reference words: 2.2 2.20 3.0 3.00 4.0 4.00


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 29, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.