Sub lignVisibles()
'select lignes visibles à partir de ligne 5
Range("A5:E" & Range("A65536").End(xlUp).Row).SpecialCells(xlCellTypeVisible).Select
ActiveCell.Name = "MaCell" 'nomme la cellule
' formules col J
ActiveCell.Offset(0, 5) = "ok"
ActiveCell.Offset(0, 5).Select: Selection.Copy
Range(ActiveCell.Offset(1, 0), ActiveCell.Offset(100, 0)).PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
[MaCell].Select
End Sub