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

ID: Q63963


The information in this article applies to:
  • Microsoft Excel for the Macintosh, version 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.

Additional query words: 2.2 2.20 3.0 3.00 4.0 4.00

Keywords :
Version :
Platform :
Issue type :


Last Reviewed: March 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.