title: Setting up password using inputbox to hide/unhide excel sheet
body: <p>I've recently made a MCQ test module that will help in preparing test papers with random questions from the question bank and conduct test and calculate the marks.</p>
  <p>All of it has been coded and completed. Since this is MCQ test macro, there is a sheet named &quot;Admin CP&quot; that will do most of the work like generating questions, setting up timer, setting passing percentage etc.. This sheet will be hidden using another simple macro xlveryhidden. In order to unhide this sheet, I want to set up something where user inputs the password in Admin CP and then hide the worksheets.</p>
  <p>If the admin wants to access this sheet again, he'll have to input the password which will be validated with the one that was setup earlier.</p>
  <p>Below is the screenshot of the code that I've written. The &quot;IF, Else, Then and =&quot; doesn't seem to work. It either throws the warning message of incorrect password or unhides the sheets even if the password is incorrect.</p>
  <p>Any help is highly appreciated. Thanks in advance.</p>
  <p><a href="https://ibb.co/9Yyqh0V" rel="nofollow noreferrer">https://ibb.co/9Yyqh0V</a></p>