


Function Find(CurTextBox As TextBox, SerchFor As String, Start As Long)
Dim st As Long
st = InStr(Start, CurTextBox.Text, SerchFor)
If st > 0 Then
CurTextBox.SelStart = st - 1
CurTextBox.SelLength = Len(SerchFor)
End If
End Function

Сейчас этот форум просматривают: AhrefsBot и гости: 8