Sub Fixer()
' Raccourci Ctrl + Maj + F
Dim shp As Shape
With ActiveSheet
On Error GoTo Suite
For Each shp In .Shapes
shp.Title = shp.Left & ";" & shp.Top
Suite:
Next shp
On Error GoTo 0
End With
End Sub
Sub Liberer()
' Raccourci Ctrl + Maj + L
Dim shp As Shape
With ActiveSheet
On Error GoTo Suite
For Each shp In .Shapes
shp.Title = ""
Suite:
Next shp
On Error GoTo 0
End With
End Sub
Sub elastic()
Dim shp As Shape, LeftTop
With ActiveSheet
On Error GoTo Suite
For Each shp In .Shapes
LeftTop = Split(shp.Title, ";")
If UBound(LeftTop) = 1 Then
If IsNumeric(LeftTop(0)) And IsNumeric(LeftTop(1)) Then
shp.Left = Split(shp.Title, ";")(0)
shp.Top = Split(shp.Title, ";")(1)
End If
End If
Suite:
Next shp
End With
End Sub