Thread
:
Find the next Cell with interior color using Do Until...Loop
View Single Post
#
2
Posted to microsoft.public.excel.programming
Gary''s Student
external usenet poster
Posts: 11,058
Find the next Cell with interior color using Do Until...Loop
Sub ryan()
Set r = Range(ActiveCell.Address & ":B65536")
For Each rr In r
If rr.Interior.ColorIndex = 40 Then
MsgBox (rr.Row)
Exit Sub
End If
Next
End Sub
--
Gary''s Student - gsnu200772
Reply With Quote
Gary''s Student
View Public Profile
Find all posts by Gary''s Student