| | |
Substraction code in MSFlex Grid
Thread Solved |
•
•
Join Date: Aug 2008
Posts: 28
Reputation:
Solved Threads: 0
Thanx to all of you, teachers... I'm sorry for being so dumb before this.. Hehe.. It was alreasdy solved.. But, the 8th column need to be changed ti 7th column.. K, thanx lot..
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
[Private Sub cmdCalculate_Click() Dim i As Integer Dim TAmt As Currency TAmt = 0 For i = 1 To Grd.Rows - 1 TAmt = TAmt + Val(Grd.TextMatrix(i, 7)) Next TAmt = Val(txtBudget.Text) - TAmt txtBalance.Text = Format(TAmt, "0.00") End Sub]
Last edited by Ancient Dragon; Jan 14th, 2009 at 8:51 pm. Reason: add code tags
![]() |
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Page setup + Print titles
- Next Thread: Any One Help me about UPDATING file in the Text .
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





