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
Scott LysleRank #49 · 31K reputationPosted Feb 8, 2009, 8:38 AM EST
neil cowan4 reputationPosted Feb 8, 2009, 9:57 PM EST
Yer it was my fault to more lables than the loop
thanks