L'apprentis
Redcifer
- Local time
- Today, 13:15
- Joined
- Jun 22, 2005
- Messages
- 177
I am trying to write a code to allow the user to change the inputMask of a text box. The thing is I am not what syntax to use; My Vba is still pretty weak and i couldn't find any example, I can't see where is my mistake; help...
Code:
Private Sub FrmOption_AfterUpdate()
Select Case Me.FrmOption
Case 1
Me.TxtLineDim1.InputMask = [00.000\x00.000;0;_]
Case 2
Me.TxtLineDim1.InputMask = [00.000;0;_]
End Select
End Sub