Sub MakeChart()
Dim pl As Range, DerLig As Double
DerLig = Sheets("Portefeuille").[C65000].End(xlUp).Row
Set pl = Range("C19:C" & DerLig)
pl.Name = "Zone1"
Set pl = Range("B19:B" & DerLig)
pl.Name = "Zone2"
Charts.Add
ActiveChart.ChartType = xl3DPieExploded
ActiveChart.SetSourceData Source:=Sheets("Portefeuille").Range("B19:C" & DerLig)
ActiveChart.SeriesCollection(1).XValues = [Zone1]
ActiveChart.SeriesCollection(1).Values = [Zone2]
ActiveChart.SeriesCollection(1).Name = "=""Répartition de votre portefeuille"""
End Sub