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
I have posted a UserForm example before
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel Tips & Solutions, free examples and tutorials why not check out my downloads
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks