formatting the cell as a password character * * *

srinivas14

Board Regular
Joined
Mar 12, 2002
Messages
99
I have a spreadsheet that contains the following data of the about 150 people:
User Id
Password
Full Name
E-Mail
Telephone
But I want to format the password column in the usual ( " ***** ") style. I tried using the custom formatting as ["*"](#####), which MS-Excel would not allow me.
Any help???

_________________
Here is a follow-up:
I tried putting * "****" in the custom formating. This shows the password as ***** in the cell but the formula bar betrays you.
:oops:
This message was edited by srinivas14 on 2002-03-27 22:59
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi srinivas14

The only way you can get around this is to have these cells have their "Hidden" Property set (Format>cell-Protection) and then protect the sheet. You would then keep the Custom format you have and enter each password as a formula, eg

="MyPassword"
 
Upvote 0
Thanks for the help, Boss.
But that leads to another problem. When protected (for only contents, say), I will not be able to adjust column widths or format text (Bold, color, etc).
 
Upvote 0
I thought that might be a problem. The only other option is some VBA. Right click on the sheet name tab and select "View Code" and paste in this:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Range("A1") = "Edit" Then End
If Target.Column = 5 Then Target.Offset(0, -1).Select

End Sub
End Sub

This will prevent any cells in Column "E" from being selected but only if the word "Edit" is NOT in cell A1.

_________________
Kind Regards
Dave Hawley
OzGrid Business Applications
Microsoft Excel/VBA Training
OzGrid.BusApp.170x45.gif

This message was edited by Dave Hawley on 2002-03-27 23:28
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,031
Members
448,940
Latest member
mdusw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top