BIGTONE559
Active Member
- Joined
- Apr 20, 2011
- Messages
- 336
Need helping with formatting all textboxes on a form.
i have the following code:
I want to apply this code to a group of textboxes exit event without having to go to each textbox event and type the code. Is there a way to do this?
i have the following code:
Code:
If TextBox1.Text = "" Then
TextBox1.Text = "0:00"
Else
TextBox1.Text = Format(Format(TextBox1.Text, "##:##"), "Medium Time")
End If
I want to apply this code to a group of textboxes exit event without having to go to each textbox event and type the code. Is there a way to do this?