I get a runtime error number 91: Object variable or With Block variable not set when running this line of code
vb Code:
Debug.Print (picBatch(i).Name & vbCrLf)
that is within this code
vb Code:
Dim i As Integer For i = 1 To intControlIndex Debug.Print (picBatch(i).Name & vbCrLf) Next i
I also get it here
vb Code:
For Index = 1 To UBound(picBatch) Step 1 'as Variant in picbatch For i = 1 To intControlIndex Step 1 If picBatch(Index).Left = picBatch(i).Left Then MsgBox ("We have collided" & picBatch(Index).Name) End If Next i Next Index


Reply With Quote
