
01-12-2004, 04:23 AM
|
|
Senior Contributor
|
|
Join Date: Jul 2003
Location: London, England
Posts: 993
|
|
If you use a flex grid to display the data, then the following will work (the data is storred in text1, can be converted to a string):
Code:
Dim txtarr() As String
Dim i As Integer
MSFlexGrid1.rows = 0
MSFlexGrid1.cols = 4
txtarr = Split(Replace$(Text1.Text, " ", vbTab), vbCrLf)
For i = LBound(txtarr) To UBound(txtarr)
MSFlexGrid1.AddItem txtarr(i)
Next
|
|