If you have an array of a primitive data type (like Integer or Single) then use the UBound and LBound functions:
Code:
MsgBox "Number of items in the array: " & UBound(MyArray) - LBound(MyArray) + 1
If it's a control array use the Count method or the UBound and LBound methods.

Good luck!


Edited by Joacim Andersson on 02-24-2000 at 12:52 PM