Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21136

[RESOLVED] Type Mismatch

$
0
0
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.
Attached Images
 

Viewing all articles
Browse latest Browse all 21136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>