Find last occurrence of the value Yes
I believe this macro will do what you want...
Sub FindLastYes()
On Error Resume Next
Columns("R").Find("Yes", MatchCase:=False, _
SearchDirection:=xlPrevious).Select
End Sub
--
Rick (MVP - Excel)
"ordnance1" wrote in message
...
I have column R, which contains a series of Yes, and No values. There are
also blank cells within the column.
I need some code that will find the last occurrence of Yes in the column
and
select it.
|