- 2008年4月20日 06:47
- Excel VBA | GraphControl
エクセルチャートの色を単一色に変えるソースコードです。
At this article, introducing some source codes to change graph into a single color.
上から、プロットエリア(内側)の色、チャートエリア(外側)の色、壁面の色、床面の色を単一色に変えます。4は緑です。3Dじゃないグラフで壁面、床面をセレクトするとエラーになります。
the following sample source codes are things to change chart into a single color.(ColorIndex=4 is green) . From the top, it's PlotArea, ChartArea, Walls, Floor. When it's not 3D graph and Walls or Floor is seleted, an error will occur.
下記は、GraphControl で使っているコードです。
The source code below is used in GraphControl.
Search