Vadimka
asked on
Data in the TextBox with different mask
I want that some textbox(TextBox1) will consist ,for example,any number .And when the form is loading,
this number in the TextBox1 will be paint in "blue"
Like,we want to erase it .
How can I do this?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The above example assumes that the textbox will have the focus when the form loads.
Private Sub Form_Load()
Text1.SelStart = 0
Text1.SelLength = Len(Text1.Text)
End Sub