我想使用VBA來選取圖表的資料範圍,我想讓他選取到最後一欄非空白的值
請問有大神能幫我VBA怎麼寫嗎?
ActiveSheet.ChartObjects("圖表 1").Activate
ActiveChart.FullSeriesCollection(1).Select
Application.CutCopyMode = False
Application.CutCopyMode = False
Application.CutCopyMode = False
Application.CutCopyMode = False
ActiveChart.FullSeriesCollection(1).Values = **"='N2 NP'!$D$15:=$D$200"**
=> 我希望$D$200變成: D欄最後一格非空白的欄位