Bonjour
Tu peux tester cela:
Sub Macro1()
Dim Graph As ChartObject
Sheets("Feuil1").Select
On Error Resume Next
For Each Graph In ActiveSheet.ChartObjects
Graph.Delete
Next
ActiveSheet.Shapes.AddChart.Select
With ActiveChart
.ChartType = xlLine
.SeriesCollection.NewSeries
.SeriesCollection(1).Name = "='IS13018'!$B$1"
.SeriesCollection(1).Values = "='IS13018'!$B$1"
.SeriesCollection(1).Values = "='IS13018'!$B$2:$B$52"
.SeriesCollection(1).XValues = "='IS13018'!$A$2:$A$52"
End With
With ActiveSheet.Shapes(1)
.Top = Cells(2, 3).Top
.Left = Cells(2, 3).Left
End With
ActiveSheet.Shapes.AddChart.Select
With ActiveChart
.ChartType = xlLine
.SeriesCollection.NewSeries
.SeriesCollection(1).Name = "='IS13018'!$C$1"
.SeriesCollection(1).Values = "='IS13018'!$C$2:$C$52"
.SeriesCollection(1).XValues = "='IS13018'!$A$2:$A$52"
End With
With ActiveSheet.Shapes(2)
.Top = Cells(2, 9).Top
.Left = Cells(2, 9).Left
End With
Range("C23").Select
End Sub