Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to find some words in cells
and then change the color of cell if find. eg. a cell contain "hello I am moto" if macro find "am" then change the cell color anybody know how to write the macro ? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() If InStr(1, Range("A1").Value, "am") 0 Then Range("E3").Interior.ColorIndex = 1 End If Try this. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use Conditional Formatting using this formula
after selecting Formula is: =ISNUMBER(FIND("am",A1,1)) Color accordingly HTH wrote in message oups.com... I want to find some words in cells and then change the color of cell if find. eg. a cell contain "hello I am moto" if macro find "am" then change the cell color anybody know how to write the macro ? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to change format for an individual word in a cell | Excel Discussion (Misc queries) | |||
Find a cell with a word and then return the next cell down | Excel Discussion (Misc queries) | |||
word match in string text in cell, color format cell | Excel Discussion (Misc queries) | |||
Change the appearance cell where Find criteria is found in a cell | Excel Discussion (Misc queries) | |||
Change format of single word in cell | Excel Programming |