Hummm H1=H1 ??? sûrement qu'ont peu faire ça jusque demain
Essaye plutôt ça..
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
Dim Ligne As Long, Col As Long, Derligne As Long
Derligne = Cells(Rows.Count, 2).End(xlUp).Row
Cancel = True
If Not Intersect(Target, Range("H" & 3 & ":H" & Derligne)) Is Nothing And Target.Count = 1 Then
If MsgBox("Voulez vous supprimer la ligne " & Target.Row & " ?", vbOKCancel + vbQuestion) = vbOK Then
'Remonte les lignes suivantes
For Ligne = Target.Row + 1 To Derligne
For Col = 2 To 7
Cells(Ligne - 1, Col) = Cells(Ligne, Col)
Next Col
Next Ligne
Range(Cells(Derligne, 2), Cells(Derligne, 7)).ClearContents
End If
End If
End Sub
Cloture ce poste, si encore question ouvre une autre discution.
A+