ThrottleWorks
Excel Ninja
Hi,
I am using below 2 lines to protect and un protect a worksheet.
MacroSht.protect Password = "Yamaha"
MacroSht.Unprotect Password = "Yamaha"
These lines are working perfect without any problems. At end of code, I protect the sheet ( by code only).
However when I try to un protect this sheet manually by entering same password.
I get an error pop up as incorrect password.
I am not able to understand the cause. Can anyone please help me in this.
I am using below 2 lines to protect and un protect a worksheet.
MacroSht.protect Password = "Yamaha"
MacroSht.Unprotect Password = "Yamaha"
These lines are working perfect without any problems. At end of code, I protect the sheet ( by code only).
However when I try to un protect this sheet manually by entering same password.
I get an error pop up as incorrect password.
I am not able to understand the cause. Can anyone please help me in this.