Sub AjouterLignes()
Dim deb&
Dim fin&
Dim numLig&
Dim R As Range
Dim reponse
Dim Rdeb&
Dim Rfin&
Dim i&
On Error Resume Next
deb& = Cells.Find(What:=BORNE, After:=[a1], SearchOrder:=xlByRows, SearchDirection:=xlNext).Row + 1
fin& = Cells.FindNext(After:=Range("a" & deb&)).Row - 1
If deb& = 0 Or fin& <= deb& Then Exit Sub
On Error GoTo 0
Set R = Range(Cells(deb&, 1), Cells(fin&, 1))
Set R = R.SpecialCells(xlCellTypeVisible)
Rdeb& = R.Row
Rfin& = R.Row + R.Rows.Count - 1
reponse = Application.InputBox(Title:="Démasquer plus de lignes", Type:=1, _
prompt:="Tapez le nombre de lignes" & vbCrLf & "(négatif=vers le haut / positif=vers le bas)")
If reponse = False Or reponse = 0 Then Exit Sub
If reponse > 0 Then
For i& = Rfin& + 1 To Rfin& + reponse
If i& = fin& + 1 Then Exit For
ActiveSheet.Rows(i&).EntireRow.Hidden = False
Next i&
Else
For i& = Rdeb& - 1 To Rdeb& + reponse Step -1
If i& = deb& - 1 Then Exit For
ActiveSheet.Rows(i&).EntireRow.Hidden = False
Next i&
End If
End Sub