The for-loop is very useful for processing data in arrays.
LBound(array) The LBound function returns the lower index of an array which will usually be 0. The UBound function returns the upper index of an array which will be the number of items in the array minus 1. To determine the number of items add 1 to the UBound of the array nbr_of_items = UBound(array) + 1 You |