Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
Cancel = True
Set Target = [I21,I23,I25,I27] 'plage à étudier, modifiable
Dim a, i&
a = [memo]
If IsArray(a) Then
For i = 1 To UBound(a)
Range(a(i, 1)) = a(i, 2)
Next i
ThisWorkbook.Names("memo").Delete
Else
ReDim a(1 To Target.Count, 1 To 2)
For Each Target In Target
i = i + 1
a(i, 1) = Target.Address
a(i, 2) = Target
Target = ""
Next Target
ThisWorkbook.Names.Add "memo", a
End If
End Sub