Hi,

I'm stuck with this task. I have a text box named tb_StartDate and I would like to ask if this is possible to mask this field with this character " / / " when the user is on or is about to make an entry to this box:

Goods Issue Date : [ / / ]

Initially, my program has this format but only when the user leaves that date prompt:

VB Code:
  1. Private Sub tb_StartDate_LostFocus()
  2.   tb_StartDate.Text = Format(tb_StartDate.Text, "##/##/##")
  3. End Sub

Thanking you in advance.