0

新しい chart1 シートを追加し、sheet1 から chart1 シートにシリーズを追加しようとしています。

これが私のコードです...

Charts.Add
With ActiveChart
    .ChartType = xlLine
    .HasTitle = True
    .ChartTitle.Text = "Closing Price"
    .SeriesCollection.NewSeries
    .FullSeriesCollection.XValues = "=Sheet1!$A$2:$A$741" '<<<<This is the xvalue
    .FullSeriesCollection.Values = "=Sheet1!$B$2:$B$741"  '<<<<This are the value 
End With

これを行う方法を教えてください..事前に感謝します

4

1 に答える 1