Thread
:
passing an object
View Single Post
#
2
Posted to microsoft.public.excel.programming
[email protected]
external usenet poster
Posts: 18
passing an object
Sub sbLimitText(txtBox As Object, intRowLimit As Integer)
If txtBox.LineCount intRowLimit Then
While txtBox.LineCount intRowLimit
txtBox.Text = Left(txtBox.Text, txtBox.TextLength - 2)
Wend
End If
End Sub
HTH
Arthur
Reply With Quote
[email protected]
View Public Profile
Find all posts by
[email protected]