Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, Trying to write a macro which finds the text "Job No" and if it has colorindex = 37 then assigns the column number of "Job No" to the variable m Below isnt quite working: Sub fi() taz = Cells.Find(What:="Job No", After:=ActiveCell, LookIn:=xlFormulas LookAt _ :=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext MatchCase:= _ False, SearchFormat:=False).Activate If taz.Interior.ColorIndex = 37 Then m = taz.Column End If End Su -- T De Villier ----------------------------------------------------------------------- T De Villiers's Profile: http://www.excelforum.com/member.php...fo&userid=2647 View this thread: http://www.excelforum.com/showthread.php?threadid=56599 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
if conditions in 2 cell correct then display third cell | New Users to Excel | |||
Finding the average using conditions in a logic function - problem | Excel Discussion (Misc queries) | |||
Countif Conditions - Use of conditions that vary by cell value | Excel Discussion (Misc queries) | |||
How do I make a cell refrence another cell based on conditions? | Excel Worksheet Functions | |||
Conditional formatting Based on cell A text with conditions in Cell B | Excel Discussion (Misc queries) |