Private Sub TextBox1_AfterUpdate()
TextBox1 = Val(Replace(TextBox1, ",", "."))
If CDbl(TextBox1) < 12 Then TextBox1 = "": TextBox1.SetFocus
End Sub
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
TextBox1_AfterUpdate
Cancel = TextBox1 = ""
End Sub