I have a textbox and was wondering how to get the output to look like this :

123.45
456.21
566.33
849.90

basically print every calcuation on a new line. as it stands now my output is just the last one (849.90)

heres my code:

Private Sub Command1_Click()
Dim intRow As Integer

For intRow = 1 To 4
dataX = MSFlexGrid1.TextMatrix(intRow, 1)
intRow = intRow + 1
data2X = MSFlexGrid1.TextMatrix(intRow, 1)
diffX = data2X - dataX
Text1.Text = diffX
Next
End Sub

you dont have to modify my code, could someone just provide an example??

thanks!!!!!!!!!!