"Passwords" in a document?

FunnyChicken5749

New Member
Joined
Mar 26, 2008
Messages
12
Ok, so I'm working on an excel project for my mom.
She wants an excel sheet of all the websites she's a member of and the passwords she's using for each site. However, she wants the passwords to show up as "*******" so that anyone who just looks at the sheet over her shoulder doesn't know what it says.

Example (picture this in excel)

<table style="border-collapse: collapse; width: 133pt;" border="0" cellpadding="0" cellspacing="0" width="177"><col style="width: 56pt;" width="75"> <col style="width: 77pt;" width="102"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt; width: 56pt;" width="75" height="20">Yahoo!</td> <td class="xl65" style="border-left: medium none; width: 77pt;" width="102">passwordY</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="border-top: medium none; height: 15pt;" height="20">Gmail</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">passwordG</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="border-top: medium none; height: 15pt;" height="20">MSN</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">passwordM</td> </tr> </tbody></table>
Expected result:

<table style="border-collapse: collapse; width: 133pt;" border="0" cellpadding="0" cellspacing="0" width="177"><col style="width: 56pt;" width="75"> <col style="width: 77pt;" width="102"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt; width: 56pt;" width="75" height="20">Yahoo!</td> <td class="xl65" style="border-left: medium none; width: 77pt;" width="102">*********</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="border-top: medium none; height: 15pt;" height="20">Gmail</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">*********</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="border-top: medium none; height: 15pt;" height="20">MSN</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">*********</td> </tr> </tbody></table>
If anyone knows a code or formula that could help me with this, I would greatly appreciate it.
I took an excel class about 5 years ago, and I feel like I learned how to do this, but I have Windows Vista and Excel 2007 now and have no idea what I'm doing.

THANKS! =)
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
So with name in Column "A and pw in Column "B", just toggle the font of "B" from black to white to black with a double click
Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Column <> 2 Then Exit Sub
If Target.Font.ColorIndex = xlAutomatic Then
    Target.Font.ColorIndex = 2
Else: Target.Font.ColorIndex = xlAutomatic
End If
Cancel = True
End Sub
lenze
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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