I am using the below code in the ThisWorkbook (Code) sheet to prompt for a pass phrase when the book is opened.
and passing the rspn to![]()
rspn = InputBox("Pass Phrase")
I would like to use a user form so that I can hide the pass phrase that is typed in a text box and then pass that back to the ThisWorkbook (Code) as a varible to to verified by the below code.![]()
If rspn = "password" Then 'code Else 'more code
![]()
If rspn = "password" Then 'code Else 'more code
Bookmarks