formatting the cell as a password character * * *
Eliminate Pivot Table Annoyances
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5

Thread: formatting the cell as a password character * * *

  1. #1

    Join Date
    Mar 2002
    Location
    Chennai, India
    Posts
    99
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    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.


    [ This Message was edited by: srinivas14 on 2002-03-27 22:59 ]

  2. #2
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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"



  3. #3

    Join Date
    Mar 2002
    Location
    Chennai, India
    Posts
    99
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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).

  4. #4
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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


    [ This Message was edited by: Dave Hawley on 2002-03-27 23:28 ]

  5. #5

    Join Date
    Mar 2002
    Location
    Chennai, India
    Posts
    99
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Thanks Dave.
    A clever trick, I should say....

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com