Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have it look for your string instead. When found have it copy the value to
col g Set c = .Find("Savings Bonds", lookin:=xlValues, lookat:=xlpart) c.offset(,5)=c.offset(,1) -- Don Guillett SalesAid Software wrote in message oups.com... Hi, This is what I found: With Worksheets(1).Range("a1:a500") Set c = .Find(2, lookin:=xlValues) If Not c Is Nothing Then firstAddress = c.Address Do c.Interior.Pattern = xlPatternGray50 Set c = .FindNext(c) Loop While Not c Is Nothing And c.Address < firstAddress End If End With I'm not sure how to modify this for my needs, if I read this correctly it looks for the value "2" then changes the cell that has that value to xlPatternGray50? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find cell entry contained anywhere within a text string | Excel Worksheet Functions | |||
FIND / SEARCH text compare cell to string in 3rd cell | Excel Discussion (Misc queries) | |||
Find text String and select cell address where it is found? | Excel Programming | |||
Search column - return row found in long text string | Excel Programming | |||
Highlight found text string in cell? | Excel Programming |