Hello Everyone,

Please help me with a vba code that protects the excel workbook and hides the data on the sheet until correct password is entered. So on opening a workbook a input box shld prompt and shlould allow 3 attempts for users to unlock the worksheets, after the 3rd attempt the application should get closed like
application.quit

Please help me
Thanks in Advance

Kunal