I have a user-defined array with a number of elements. What I'm wondering is - is there an easy way to get the maximum value of one element for all the arrays?
I have something like
and I want to find out what the largest number of Sales were for any single customer. Of course it would be nice to know the Customer's name as well, but I'll be happy to just get the sales number. Is there a way to do this without looping through the entire customer base, putting the sales # into an array and then finding the max of that array?![]()
Type CustInfo Name as string Email as string Sales as double End Type
Bookmarks