Hi,
I want to make a sheet unptotected so I use the function ActiveSheet.Unprotect. This works nice but sometime the sheets is protected and I have to use the password to unprotect the sheet.
I want to know if the sheets is protected with a password or not so I can call the unprotect function with password or without.
So my question is: is there a way to check the sheet if it's protected with a password or protected without a password?
thanx
I want to make a sheet unptotected so I use the function ActiveSheet.Unprotect. This works nice but sometime the sheets is protected and I have to use the password to unprotect the sheet.
I want to know if the sheets is protected with a password or not so I can call the unprotect function with password or without.
So my question is: is there a way to check the sheet if it's protected with a password or protected without a password?
thanx