ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   protecting the worksheet (https://www.excelbanter.com/excel-worksheet-functions/58626-protecting-worksheet.html)

Jezebel

protecting the worksheet
 
MySheet.Unprotect Password:="*****"
:
MySheet.Protect Password:="*****"



"Fawn" wrote in message
...
I have a worksheet that I would like to record a macro to protect with a
password and unprotect with a password. When I record the macro it will
not
give me the choice to enter a password before the sheet unprotect.

Don't know if it is possible to do this.

Does anyone have suggestion?







Fawn

protecting the worksheet
 
I have a worksheet that I would like to record a macro to protect with a
password and unprotect with a password. When I record the macro it will not
give me the choice to enter a password before the sheet unprotect.

Don't know if it is possible to do this.

Does anyone have suggestion?






All times are GMT +1. The time now is 04:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com