Chart seriescollection色彩等屬性設定
- 帖子
- 529
- 主題
- 56
- 精華
- 0
- 積分
- 607
- 點名
- 114
- 作業系統
- win 10
- 軟體版本
- []
- 閱讀權限
- 50
- 性別
- 男
- 註冊時間
- 2013-3-19
- 最後登錄
- 2025-5-16
           
|
Chart seriescollection色彩等屬性設定
VBA程式繪製圖表,其中有線條及標記線條(框線) 都叫 .Format.line 沒有區別,而無法順利設定屬性
想利用鍵盤模擬來做設定;
請問哪個大大幫忙指導,謝謝
- Sub test0()
- With Application
- .Dialogs(xlDialogSeriesOptions).Show '開啟 資料數列格式
- .SendKeys "{down 2}", True '向下 2 次選 標記添滿
- .SendKeys "{TAB}", True '右側選項
- .SendKeys "s", True '實心添滿 (S)
- .SendKeys "c", True '色彩(C)
- .SendKeys "{right 4}{down 4}~", True '彩色盤 色別選取
- .SendKeys "{TAB} 3", True '回左側選項
- .SendKeys "{down}", True '線條色彩
- .SendKeys "{tab}", True '右側選項
- .SendKeys "N", True '無線條
- .SendKeys "{tab} 2", True '回左側 線條色彩
- .SendKeys "{down} 2", True '向下 2 次選 標記線條色彩
- .SendKeys "{tab}", True '右側選項
- .SendKeys "N", True '無線條
- .SendKeys "{tab}~" '關閉 資料數列格式
- End With
- End Sub
複製代碼 |
|
|
|
|
|
|