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

I have this macro used as a password input box. My
question is how did I mask the user entry (*******)


Sub Macro9()
Dim V1 As Variant


V1 = Application.InputBox(prompt:="Enter Password",
Type:=1 + 2)
If V1 = False Then
MsgBox "You didn't enter a number"
Else
Worksheets("SHEET1").Range("A14").Value = V1
End If

End Sub
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default Password mask

jose,

You can't do this with an Input Box.
Create a Userform with a TextBox and set the PasswordChar
property of the textbox to an asterisk.

John

jose wrote:

I have this macro used as a password input box. My
question is how did I mask the user entry (*******)

Sub Macro9()
Dim V1 As Variant

V1 = Application.InputBox(prompt:="Enter Password",
Type:=1 + 2)
If V1 = False Then
MsgBox "You didn't enter a number"
Else
Worksheets("SHEET1").Range("A14").Value = V1
End If

End Sub


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Password mask


I don't know what else to do with somebody help me with the code.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
CUSUM and V-Mask Amy Excel Worksheet Functions 1 December 11th 06 09:00 AM
Data Mask Jasmine Excel Discussion (Misc queries) 5 October 3rd 06 05:42 PM
Input Mask Steven Excel Worksheet Functions 1 January 16th 06 11:27 PM
date mask sgibbs Excel Discussion (Misc queries) 1 August 17th 05 10:50 PM
Input Mask Jimmy Clay New Users to Excel 3 December 1st 04 01:16 AM


All times are GMT +1. The time now is 02:08 PM.

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"