If blnFlags = False Then
blnFlags = True
Exit Sub
End If
Dim intPst As Integer
intPst = InStr(StrReverse(Text1.Text), StrReverse(vbCrLf))
If intPst > 0 Then
If intPst > TEXTLEN Then
blnFlags = False
Text1.Text = Text1.Text & vbCrLf
Text1.SelStart = Len(Text1.Text)
End If
Else
If Len(Text1.Text) >= TEXTLEN Then
blnFlags = False
Text1.Text = Text1.Text & vbCrLf
Text1.SelStart = Len(Text1.Text)
End If
End If