firstCell = Worksheets("Planning PF").Range("B:B").Find(1, , xlValues, , xlByRows, xlNext).Row
lastCell = Worksheets("Planning PF").Range("B:B").Find(1, , xlValues, , xlByRows, xlPrevious).Row
'MsgBox (firstCell)
For Each cel In Range("J" & firstCell & ":J" & lastCell)
"code"
Next