I know the code is in the textbox, but what type of textbox

Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
    With Me.TextBox1
        If Len(.Value) > 12 Then
            .Value = Empty
            .SetFocus
            Exit Sub
            End If
        End With
End Sub