{"id":4027,"date":"2014-06-19T13:27:47","date_gmt":"2014-06-19T13:27:47","guid":{"rendered":"http:\/\/www.learnexcelmacro.com\/wp\/?p=4027"},"modified":"2017-07-20T15:03:57","modified_gmt":"2017-07-20T15:03:57","slug":"excel-cell-masking-for-password","status":"publish","type":"post","link":"https:\/\/vmlogger.com\/excel\/2014\/06\/excel-cell-masking-for-password\/","title":{"rendered":"Excel Tip : How to Make an Excel Cell secured for Password"},"content":{"rendered":"
One of my friend wanted me to write an article on How can a person achieve making an Excel Cell behave like a password text box which is masked and secured. I have tried to achieve that up to some extent but not 100%. Go through with this article and provide your feedback or suggestion regarding this topic !!. You will find an Excel Workbook with the example to play around with it.<\/p>\n
<\/a><\/p>\n With the help of this Tutorial I am going to explain you – How can you make your excel cell behave like a Password TextBox where your password is masked and no one can see or copy your entered password<\/strong>. At the end of this article you will be able to achieve following things:<\/p>\n 1. Your Password will not be visible to any one (It will be masked like ************ this ). Note that no one can see the password even in the formula bar<\/p>\n 2. Copying the password will not be possible too.<\/p>\n 3. Once you have typed your password and someone tries to click on the cell to edit it then cell will be cleared and you need to enter your whole password again.<\/p>\n The only problem with this masking is that typing of the Password can not be masked.<\/i> It means while typing you will be able to see what are you typing in the cell. You password will be masked and hidden as soon as you come out of that cell.<\/p><\/blockquote>\n Before I jump to explain the step-by-step tutorial to make your password cell masked, I would like to tell you that this method is not using any VBA or Excel macro. It is purely done by Excel WorkSheet built-in functions.<\/p>\n Follow the below steps to make your excel cell work as a masked password text box.<\/p>\n First of all you need to decide which range or cells you want to allow users to edit. Why is this required here at first step?? — because this masking is going to be achieved by Protecting the sheet hence you should know those cells which are needs to be made a editable even after protecting the sheet. Refer this article to know how to protect the sheet except few cells or range.<\/a><\/i><\/p>\n i)<\/strong> Select all your cells or range which has to be made editable (including the Password cell as well)<\/p>\n ii)<\/strong> Right Click and go to Format Cells -> Protection Tab as shown in below picture:<\/p>\n <\/p>\n <\/p>\n iii)<\/strong> Now Select your Password<\/i> cell which you want to make it as masked.<\/p>\n iv)<\/strong> Right click and again go to Format Cells –> Protection Tab (as shown in above picture)<\/i><\/p>\n v)<\/strong> Now Check the Hidden<\/strong> check-box for your Password Cell as shown in the below picture:<\/p>\n <\/p>\n Now you need to Custom Format your password cell so that after typing your password it shows ********<\/strong> a masked password. To do so follow below steps:<\/p>\n i)<\/strong> select the password cell<\/p>\n ii)<\/strong> Right Click –> Format Cells –> Number Tab<\/p>\n iii)<\/strong> Select category as Custom<\/strong><\/p>\n iv<\/strong> Enter type as ;;;**<\/strong> and Click OK as shown in below picture:<\/p>\n ><\/p>\n — This formatting will show Star(*)<\/i> in full cell. It means no matter how many letters you have typed in your cell but once you come out of the cell, your cell will be shown as full of Stars *.<\/p>\n Protect your WorkSheet with all default options selected. To know more about protecting a WorkSheet..read this article<\/a>. It is recommended that you pass a valid password to protect your sheet if you really want to make your password protected \ud83d\ude42<\/p>\n I have created one Excel WorkSheet by following the above steps for Simple Login page to login in to HP Quality Center.<\/p>\nNote:<\/h3>\n
Step 1: Set your Cell or Cell Range as Hidden but NOT Locked<\/h1>\n
Step 2: Custom Masking (Custom Formatting) of Password Cell<\/h1>\n
Now you are done with all the necessary formatting which is required before you Protect your Sheet<\/h2>\n
Step 3: Protect your WorkSheet<\/h1>\n
Yes now you are done with your Password Cell masking without using a Text Box. Let’s see few examples<\/h2>\n
Example:<\/h1>\n