I'm trying to use a password to to enable a hotsopt but I can't seem to get this to work.
Someone help me with this if you could.
password = "668944"
Do
returnvalue = InputBox("Please enter the password to enter the room.","Password")
Select Case returnvalue
Case ""
MsgBox "You have clicked Cancel"
Exit Do
Case password
MsgBox "Passwork OK. Power enabled to keycode..."
variable im trying to turn on--> password = password - 1
Exit Do
Case Else
MsgBox "Wrong passord. You will now be asked the password again."
End Select
Loop
Error I get
Error executing script.
The Scripting Engine returned the following error message:
Overflow: 'password'