iT邦幫忙

0

請益 關於 excel vba 誤差線

https://ithelp.ithome.com.tw/upload/images/20210214/20135090il1Ijl4s3o.jpg在excel-組合圖表( 折線圖+散佈圖) 設定

散佈圖中的 誤差線 可設定成 水平誤差線

請問 各位大大 在excel vba 時能用code 控制誤差線嗎

ActiveSheet.ChartObjects("Results2").Activate
ActiveChart.FullSeriesCollection(2).Select
ActiveChart.FullSeriesCollection(2).Points(1).Select
ActiveChart.FullSeriesCollection(2).HasErrorBars = True
ActiveChart.FullSeriesCollection(2).ErrorBars.Select
ActiveSheet.ChartObjects("Results2").Activate
ActiveChart.FullSeriesCollection(2).Points(1).Select
ActiveChart.FullSeriesCollection(2).ErrorBar Direction:=xlX, Include:= _
    xlPlusValues, Type:=xlCustom, Amount:=6 

https://ithelp.ithome.com.tw/upload/images/20210214/20135090L1ZgIGGKhL.jpg


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言