I have this code
Dim intPerson As Integer
For Each intPerson In intAge
Next
intPerson holds a different number every time the loop is executed because intAge is an array. Is there a way I can find the average of intPerson by adding each number each time and then dividing it by the amount of numbers there are in the array?
For Eachloop.Dimthe iterator of aFor Eachloop beforehand."