property MaskEdit.MaskChar as Integer
Retrieves or sets a value that determines masking character.

TypeDescription
Integer A character expression that indicates the character used for masking characters

By default, the masking character is "_". Use the MaskChar property to change the masking character.  Use the Mask property to assign a single mask to the control. Use the Masks property to assign multiple masks to the control. Use the MaskFloat property to mask floating point numbers without displaying the masking character.

For instance, the following sample changes the masking character to "0":

With MaskEdit1
        .MaskChar = Asc("0")
        .Mask = "[0-9][0-9][0-9][0-9]"
End With