Columns("A:A").Find(WorksheetFunction.Max(Columns("A:A"))).Select
birdman said:Thanks for the response
When running this code, I get:
Run-time Error '91':
Object variable or With block variable not set
Any idea on how to fix this?
Dim r as Range
Set r = Columns("D:D").Find(WorksheetFunction.Max(Columns("D:D")))
If Not r Is Nothing Then
r.Select
Msgbox "Cell found in " & r.Address(0, 0)
Else
Msgbox "No value was found."
End If
Dim rng As Range
Set rng = Columns("L:L")
With rng
.Find(WorksheetFunction.Max(rng)).Select
End With