Dim mylist As List
Dim largest_number as Double 'or Int if appropriate
mylist.Add() 'puts an item into the list. You can use AddAll if your numbers are already in an array -- refer to the tool tips as you code
'after all items are in the list, then
mylist.sort(false) 'false sorts list Descending, true sorts list Ascending,
largest_number=mylist.get(0) 'list index is zero based. Largest number will be first item in the list since we sorted Descending