Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Set rng = Range("H5:H200")
For Each c In rng If c.Value = Range("X9").Value Then FoundRow = c.Row Range("F" & FoundRow).Value = Range("V8").Value Exit For End If Next c so i am trying to look for the value of X9 in the range h5:h200 when i find the match...i wanted to take the value of column F in the same row as the found match, and set V8 to the same value..... i have a feeling its not even running through the if then statement tho....but im not sure..... whats wrong? thx |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Match (1 of 3 cell values) in a range? | Excel Worksheet Functions | |||
Conditional format if cell match found in another range of cells | Excel Worksheet Functions | |||
count if range contains match to another cell | Excel Discussion (Misc queries) | |||
Range Match | Excel Programming | |||
Range.Find returns cell outside of range when range set to single cell | Excel Programming |