Hi,
I have two list:
M1_LIST = values (like 1, 5, 6 etc)
Country_all_list = values names (Audi, BMW etc)
Now I'm creating chart:
But I'm getting error about "Invalid Parameter".
I have two list:
M1_LIST = values (like 1, 5, 6 etc)
Country_all_list = values names (Audi, BMW etc)
Now I'm creating chart:
Code:
Dim charts_1 As ChartObject
Set charts_1 = sCountry.ChartObjects.Add(Left:=300, Top:=175, Width:=400, Height:=300)
With charts_1
.Chart.ChartType = xlColumnClustered
.Chart.SeriesCollection(1).Values = "=M1_LIST"
.Chart.SeriesCollection(1).XValues = "=Country_all_list"
End With
But I'm getting error about "Invalid Parameter".