Has anyone had a problem with adding an embedded chart using VBA syntax in the 2010 version? My syntax is below, the macro stalls on line 2.
Range("A1:E5").Select
ActiveSheet.Shapes.AddChart.Select
ActiveChart.ChartType = xlColumnClustered
ActiveChart.SetSourceData Source:=Range("Table!$A$1:$E$5")
Range("A1:E5").Select
ActiveSheet.Shapes.AddChart.Select
ActiveChart.ChartType = xlColumnClustered
ActiveChart.SetSourceData Source:=Range("Table!$A$1:$E$5")