USFengBULLS
Board Regular
- Joined
- May 7, 2018
- Messages
- 66
- Office Version
- 365
- Platform
- Windows
Hello all,
I am having an issue now when I run my code to uprotect a password protected Sheet and run the code. My code is attached to an ActiveX control button and is simply this:
Private Sub ComboBox1_Change()
ActiveSheet.Unprotect (My Password)
'my code
ActiveSheet.Protect (My Password)
End Sub
After I protect the sheet with the My Password it says my password is not correct.
The real password Consists of four uppercase letter, followed by four numbers. Yes I checked my caps lock.
This was working before but is now all of the sudden not working.
Anyone know what may be going on here?
I am having an issue now when I run my code to uprotect a password protected Sheet and run the code. My code is attached to an ActiveX control button and is simply this:
Private Sub ComboBox1_Change()
ActiveSheet.Unprotect (My Password)
'my code
ActiveSheet.Protect (My Password)
End Sub
After I protect the sheet with the My Password it says my password is not correct.
The real password Consists of four uppercase letter, followed by four numbers. Yes I checked my caps lock.
This was working before but is now all of the sudden not working.
Anyone know what may be going on here?