In VBA for Excel:
For i = 0 To UBound(artMaster)
For j = i To UBound(artMaster)
If i <> j And artMaster(i).VDN = artMaster(j).VDN Then
Call DeleteArrayItem(artMaster, j)
End If
Next j
Next i
How can I decrease the iterations of the loop after I have deleted one of the array items?
You would be much better off using WHILE loops instead of FOR loops. Also, you could store UBound(artMaster) in a variable.