Sub InstallerRenvoi2()
Dim RngSrc As Range
On Error Resume Next
Set RngSrc = Application.InputBox("Plage source ?", Type:=8)
If Err Then Exit Sub
Selection.FormulaR1C1 = "=IF(RC7=1,IFERROR(INDEX(" _
& RngSrc.Address(True, True, xlR1C1, True) & ",ROW()-" _
& Selection.Row - 1 & ",1),0),""NA"")"
End Sub