reading on textbox
Posted on 2011-09-07
Hi! I've got a problem when reading my textbox when my group of words is less than Ubound.
the code is like this :
Private Sub Command1_Click()
Dim astrSplitItems() As String
astrSplitItems = Split(Replace(Text1.Text, " ", " "), " ")
If UBound(astrSplitItems) >= 2 Then
The problem is the msgbox cannot read the Text1.Text if the group of words in the textbox is less than 3 groups. Is there any solution? How? Please...