I'm noob with VB6 so bare with me. :(
I got an error with this code:
Dim i As Integer
With poFlexGrid
For i = 1 To .Rows - 1
.Cell(flexcpText, i, 5) = poFlexGrid.TextMatrix(i, 2) * poFlexGrid.TextMatrix(i, 3)
Next
End With
Error: Type Mismatch
what i'm trying to do is to multiply the unitcost to quantity and the result will reflect total amount.
![Name: untitled1.jpg
Views: 31
Size: 15.4 KB]()
I really don't know how to make this work.
I need help.
Thank you.
I got an error with this code:
Dim i As Integer
With poFlexGrid
For i = 1 To .Rows - 1
.Cell(flexcpText, i, 5) = poFlexGrid.TextMatrix(i, 2) * poFlexGrid.TextMatrix(i, 3)
Next
End With
Error: Type Mismatch
what i'm trying to do is to multiply the unitcost to quantity and the result will reflect total amount.
I really don't know how to make this work.
I need help.
Thank you.