Any idea why I would be getting an error saying:
Unable to get the Match property of the worksheetfunction class?
Here is my code
![]()
Sub Winner() Dim FirstScore As Double Dim FirstPlace As String Dim TheMatch As Integer FirstScore = WorksheetFunction.Max(Range("GrandTotal")) TheMatch = WorksheetFunction.Match(12, GrandTotal, 0) FirstPlace = WorksheetFunction.Index(B1, E1, TheMatch) MsgBox "First Place is " & FirstPlace & " with " & FirstScore & " Points.", vbOKOnly, "Reading of the Scores" End Sub
Bookmarks