L Louise Sep 10, 2004 #1 Is there anyway of looping through each character in a text box to compare the ascii number with something else?
Is there anyway of looping through each character in a text box to compare the ascii number with something else?
H Harald Staff Sep 10, 2004 #2 Hi Sure Private Sub CommandButton1_Click() Dim S As String Dim L As Long S = Me.TextBox1.Text For L = 1 To Len(S) MsgBox Asc(Mid$(S, L, 1)) Next End Sub HTH. Best wishes Harald
Hi Sure Private Sub CommandButton1_Click() Dim S As String Dim L As Long S = Me.TextBox1.Text For L = 1 To Len(S) MsgBox Asc(Mid$(S, L, 1)) Next End Sub HTH. Best wishes Harald