Hi Rahul ,
Any work that you upload with the intention to help is meant to benefit others. Users may be those who are interested to learn , or those who want to automate their work.
If you want to help users in the first category , please do not protect your code / workbook / worksheet with passwords.
If you want to help users in the second category , please do the following :
1. Make your application ( whether it is through design or formulae or code ) as user-friendly as possible
2. Make your application as robust ( foolproof ) as possible.
With reference to your uploaded file , when I click on either of the buttons , I am prompted to enter a password ; this is not at all user-friendly , since I , for one , do not see any reason to enter a password if I wish to hide / unhide a worksheet. If at all this facility is to provided , then please include a Help button which will explain how this application can be made use of by someone who downloads it.
I would suggest you go through a site such as
http://www.vbaexpress.com to get an idea of their knowledge base.
Narayan