You are on page 1of 1

ActiveChart.

ChartType = x1pie
ActiveChart.SeriesCollection(1).Name = "Ventas por categorias"

Worksheets("Hoja1").Shapes.AddChart.Select
ActiveChart.SetSourceData Source:=Range("A1:B6")

You might also like