Bonjour,

dans ma macro suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
 
Sub Macro2()
 
Dim Delta As Integer
Dim i As Integer
Dim s As Variant
Dim t As Variant
Application.ScreenUpdating = False
Delta = 6
Set catalogue = Workbooks("ES-Catalogue.xlsm").Sheets("Param Services")    ' Feuille du Catalogue contenant les images
 
For i = 2 To 2
 
Range("B" & Delta) = catalogue.Range("A" & i).Value
Range("M" & Delta + 1) = catalogue.Range("B" & i).Value
Range("Q" & Delta + 2) = catalogue.Range("E" & i).Value
 
Workbooks("ES-Catalogue.xlsm").Activate
Sheets("Param Services").Range("D" & i).Select
     For Each shp In ActiveSheet.Shapes
        If shp.Top = Workbooks("ES-Catalogue.xlsm").Sheets("Param Services").Range("D" & i).Top Then
        Selection.Copy
 
Workbooks("ES-Edition du Catalogue des Services.xlsm").Activate
Sheets("Edition Services").Range("B" & Delta + 2).Select
' Suppression de l'image résiduelle
         For Each s In ActiveSheet.Shapes
             If Not Intersect(s.TopLeftCell, ActiveCell) Is Nothing Then s.Delete
         Next s
' Copie de la nouvelle image à la bonne taille
ActiveSheet.Paste
'Selection.ShapeRange.ScaleHeight 0.4693333333, msoFalse, msoScaleFromTopLeft
        End If
     Next
 
Delta = Delta + 5
Next i
 
Application.ScreenUpdating = True
End Sub
l'image sélectionnée en ligne 19 ("D" & i) se trouve visible en ("A" & Delta) au lieu attendue en ("B" & Delta) (lignes 25 et 31)

Avez-vous une explication ?