Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear experts,
I have a macro trying to look for a value in a range with a specific format (there may be other cells containing the same value however I want to have the one written in blue only). I am not able to find the right syntax for this... Set p = ShC.Range("a1:A" & LastRow).Find(what:=ShC.Cells(h, 1).Value, lookat:=xlWhole, LookIn:=xlValues, SearchFormat:=?????) Where the criteria is that the found cell must have .Font.ColorIndex = 5 Many thanks as usual for your great help Kind regards -- Valeria |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find syntax | Excel Programming | |||
find syntax help please | Excel Programming | |||
Correct find syntax | Excel Programming | |||
Find method syntax | Excel Programming | |||
Macro syntax - how to find them | Excel Programming |