I'm writing code in VBA, and I'm trying to accomplish the following :
- Select a range from a sheet
- Loop through that range's rows
- Compare the 3 cell value in the row to a value
- Do stuff....
I searched through the Internet, but didn't find a way to access that 3rd cell...
Thanks in advance !
Some code for you nerds :
For Each ProdRow In DayProd.Rows
saisi = False
Do While ((Not IsEmpty(Selection.Value)) And (Not saisi))
If (Selection.Value = ProdRow(*Select that 3rd cell*).Value) Then
....
End If
Loop
Next