편집

다음을 통해 공유


PasswordChar property

Specifies whether placeholder characters are displayed instead of the characters actually entered in a TextBox.

Syntax

object.PasswordChar [= String ]

The PasswordChar property syntax has these parts:

Part Description
object Required. A valid object.
String Optional. A string expression specifying the placeholder character.

Remarks

Use the PasswordChar property to protect sensitive information, such as passwords or security codes. The value of PasswordChar is the character that appears in a control instead of the actual characters that the user types. If you don't specify a character, the control displays the characters that the user types.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.