A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
H,
re: find cell with a particular format
Finds top most cell in columns "H:L" with Red interior color.
Additional "FindNext" code required to find more cells.
SearchFormat is True in order to utilize FindFormat setting.
'---
Sub FindFirstColor()
Dim rngFound As Range
Dim rngToSearch As Range
Set rngToSearch = ActiveSheet.Columns("H:L")
Application.FindFormat.Clear
Application.FindFormat.Interior.Color = vbRed
Application.FindFormat.Locked = True
Set rngFound = rngToSearch.Find(what:=vbNullString, searchformat:=True)
rngFound.Select
End Sub
'---
Jim Cone
Portland, Oregon USA
https://goo.gl/IUQUN2 (Dropbox)
(free & commercial excel add-ins & workbooks)