Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Format Cell as Password

Hello,

Is there any way to format a cell so that it displays what is typed in as a
password (ie. as *****) rather than showing what has been typed in?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 449
Default Format Cell as Password

No, that can not be done by cell formatting, sorry.

Best wishes Harald

"Richard_123" wrote in message
...
Hello,

Is there any way to format a cell so that it displays what is typed in as
a
password (ie. as *****) rather than showing what has been typed in?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Format Cell as Password

Is there any other way of doing it? such as writing a macro?

Thank you.

"Harald Staff" wrote:

No, that can not be done by cell formatting, sorry.

Best wishes Harald

"Richard_123" wrote in message
...
Hello,

Is there any way to format a cell so that it displays what is typed in as
a
password (ie. as *****) rather than showing what has been typed in?

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 449
Default Format Cell as Password

No. Problem is; no macros runs while writing stuff into a cell. Can you
enter your password into something else? A userform textbox would be
perfect. What is this for?

Best wishes Harald


"Richard_123" wrote in message
...
Is there any other way of doing it? such as writing a macro?

Thank you.

"Harald Staff" wrote:

No, that can not be done by cell formatting, sorry.

Best wishes Harald

"Richard_123" wrote in message
...
Hello,

Is there any way to format a cell so that it displays what is typed in
as
a
password (ie. as *****) rather than showing what has been typed in?

Thanks




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Format Cell as Password

Event code OK?

Private Sub Worksheet_Change(ByVal Target As Range)
Dim v As Variant, i As Integer
If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub
If IsNumeric(Target) Then
MsgBox "all numbers not allowed"
Else
On Error GoTo CleanUp
Application.EnableEvents = False
v = Target(1, 1).Value
Application.EnableEvents = False
For i = 1 To Len(v)
Target(1, 1).Characters(Start:=i, _
Length:=1).Text = "*"
Next i
End If
CleanUp:
Application.EnableEvents = True
End Sub

Note: the text will be seen while entering but change to ***** when enter
key is hit.

To have text appear as ****** while typing is beyond my skills.

I don't think you can do that in a cell.



Gord Dibben MS Excel MVP

On Mon, 8 Dec 2008 13:02:01 -0800, Richard_123
wrote:

Is there any other way of doing it? such as writing a macro?

Thank you.

"Harald Staff" wrote:

No, that can not be done by cell formatting, sorry.

Best wishes Harald

"Richard_123" wrote in message
...
Hello,

Is there any way to format a cell so that it displays what is typed in as
a
password (ie. as *****) rather than showing what has been typed in?

Thanks




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Password Protection - paste to unprotected cell locks the cell Jimbob Excel Discussion (Misc queries) 7 September 7th 07 06:22 PM
Password Protecting One Cell Erinayn Excel Discussion (Misc queries) 1 January 11th 07 08:52 PM
How do I copy data in single cell format to a merged cell format Paul Excel Discussion (Misc queries) 1 June 27th 05 11:00 AM
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. Daniel Excel Worksheet Functions 0 June 23rd 05 11:56 PM
bypass password when update linking of password protected file Yan Excel Discussion (Misc queries) 1 February 7th 05 11:29 PM


All times are GMT +1. The time now is 07:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"