How could I investigate simply the number of items in a given array. I used this code, but it's a bit laborious
myArr=Array("frog", "cat", "bat", "rat", "horse")
 for i=0 to UBound(myArr)
 ' Msgbox i +1 & ".item: " & myArr(i) 
 next
Msgbox i & " items in this array:" & vbcrlf & Join(myArr)
Thanks
 
     
     
    