stupid me - search across row
For i = 1 To Cells(Rows.Count,"AJ").End(xlUp).Row
For Each cell In Range("AJ" & i & ":AS" & i)
if cell.Value < 0 Then
MsgBox Application.Vlookup(cell.Value,
Range("lookup_table"),2,False)
End If
Next cell
Next i
as a starter
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"Stephen" wrote in message
...
Hi Folks,
I'm feeling mighty sumb this morning cause I just can't figure out how to
loop across a row on one sheet from column AJ to column AS searching for
non
zero values, then performing a vlookup to return a descrition which is
associated with that value, then starting the process on the next row
until I
reach the last row of data.
Can someone help jump start my brain?
Thanks!
|