Hey I need help with VBA.
The first functions that you will create are helper functions that can be used by otherfunctions.
Function FindMax(valueArray, nameArray) As String
This function takes in two arrays; the first array has the numeric values while thesecond array has the names. The function will find the value in the first array that isthe largest and return the corresponding name (from the second array). For instance, if the valueArray = (10, 20, 5, 9) and nameArray is (“House”, “Chair”,
“Table”, “Book”). The function will return Chair.
Solved by F. A. in 24 mins