If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Cell format = Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-06-05, 17:54
bhavesh78 bhavesh78 is offline
Registered User
 
Join Date: Dec 2004
Posts: 78
Question Cell format = Password

Can we change format of cells in excel using VB or directly so that what ever we type in cell shows up as ****** and the value is stored as typed value and not *****.

Thanks.

~BS
Reply With Quote
  #2 (permalink)  
Old 01-07-05, 04:34
DavidCoutts DavidCoutts is offline
Registered User
 
Join Date: Jan 2004
Location: Aberdeen, Scotland
Posts: 1,067
i dont think so but i suppose it could be fudged
why not just add a textbox to your worksheet and set the password character in there

Dave
Reply With Quote
  #3 (permalink)  
Old 01-07-05, 20:57
bhavesh78 bhavesh78 is offline
Registered User
 
Join Date: Dec 2004
Posts: 78
Thumbs up

I guess ur trick should work. Need to try out though.

Thanks.

~BS
Reply With Quote
  #4 (permalink)  
Old 01-08-05, 03:45
savbill savbill is offline
Registered User
 
Join Date: Feb 2004
Posts: 533
You could use the Cell Change event to change the font to a 'Webdings' font after the user changes the cell. Then all anyone needs to do is select the cell and view the text unaltered in the formula bar... So you could turn off the formula bar, but then anyone could copy the text and view it in a clip-board viewer to see whats typed. Like Dave suggested, you might consider using a Textbox or Textbox on a userform. With the Textbox you can set a Mask option, and select the caracter to use as the mask character.



/
__________________
~

Bill
Reply With Quote
  #5 (permalink)  
Old 01-10-05, 12:27
bhavesh78 bhavesh78 is offline
Registered User
 
Join Date: Dec 2004
Posts: 78
Textbox works perfectly fine.

The only problem is that if a value is changed in the textbox, user needs to save the sheet to store the new value. Is there a way to only save the contents of textbox without saving the whole sheet.

Thanks.

~BS
Reply With Quote
  #6 (permalink)  
Old 01-10-05, 21:47
savbill savbill is offline
Registered User
 
Join Date: Feb 2004
Posts: 533
Quote:
Originally Posted by bhavesh78
Is there a way to only save the contents of textbox without saving the whole sheet.
Have the Textbox value pull from another workbook, .INI, or text file. Either read/write values from the external file or use a hidden workbook to store the password. Then you can save the password changes without saving the active workbook. This of course requires different coding to refer to data in a separate file or workbook. A little more complex.



/
__________________
~

Bill
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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