labels(i) = lbs(i).Text
NextHi
I have a group of labels for which i need to get the text and sum them how to i convert them to a number. I have tried convert. and cint but had no luck can anyone help please.
For i = 0 To 12
score += CType(labels(i), Integer)
Next
Label13.Text = score
End Sub
neil cowanPosted Feb 9, 2009, 2:57 AM
Yer it was my fault to more lables than the loop
thanks
Scott LyslePosted Feb 8, 2009, 1:38 PM