|
-
Jul 21st, 2003, 10:21 AM
#1
Thread Starter
Member
quick easy question!
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!!!!!!!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|