Dim strtemp As String, x As String
Dim i As Integer
strtemp = InputBox("Enter string here")
Do
i = i + 1
x = Mid(strtemp, i, 1)
DoEvents
Loop While x <> ""
MsgBox i - 1
On Error Resume Next
Dim strtemp As String, x As String
Dim i As Integer
strtemp = InputBox("Enter string here")
Do
i = i + 1
x = ""
x = Mid(strtemp, i, 1)
Loop While x <> ""
MsgBox i - 1
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.