Now that I think about it. It looks to me like your looping through a text box to find the return characters. There is a better way to do this.
Instead of [tt]
For i = 1 to len(strString)
If Mid(strString,i,1) = Chr$(13) Then
'do something
End If
Next i
[/tt]
You could use this [tt]
i = InStr(strString, 1, Chr$(13))
[/tt]
Craig, mailto:sander@cogeco.ca
Remember not to name the Lambs...
It only makes the chops harder to swallow