Home > Excel VBA | GraphControl > Excel グラフ 既定のグラデーション (.PresetGradient Style, Type, Variant)

Excel グラフ 既定のグラデーション (.PresetGradient Style, Type, Variant)


エクセルグラフのプロットエリア、チャートエリア、壁面、床面を既定のグラデーションに設定するマクロを紹介します。以下は、エクセル既定のグラデーションの種類とタイプです。

The following table indicates the est. color in Excel.

グラデーションの種類Name of GradationGradientType
夕焼けEarlySunsetmsoGradientEarlySunset
日暮れLateSunsetmsoGradientLateSunset
夕闇NightfallmsoGradientNightfall
夜明けDaybreakmsoGradientDaybreak
地平線HorizonmsoGradientHorizon
砂漠DesertmsoGradientDesert
OceanmsoGradientOcean
CalmWatermsoGradientCalmWater
FiremsoGradientFire
FogmsoGradientFog
こけMossmsoGradientMoss
くじゃくPeacockmsoGradientPeacock
小麦WheatmsoGradientWheat
セーム皮ParchmentmsoGradientParchment
マホガニーMahoganymsoGradientMahogany
RainbowmsoGradientRainbow
虹2RainbowIImsoGradientRainbowII
ゴールドGoldmsoGradientGold
ゴールド2GoldIImsoGradientGoldII
ブロンズBrassmsoGradientBrass
クロムChromemsoGradientChrome
クロム2ChromeIImsoGradientChromeII
シルバーSilvermsoGradientSilver
サファイアSapphiremsoGradientSapphire
グラデーションのスタイルStyle of GradationGradient Style
HorizontalmsoGradientHorizontal
VerticalmsoGradientVertical
右上対角線Diagonal UpmsoGradientDiagonalUp
右下対角線Diagonal DownmsoGradientDiagonalDown
角からFrom CornermsoGradientFromCorner
中央からFrom CentermsoGradientFromCenter

以下のコードは、グラフのプロットエリアの色を既定カラー(夕焼け)、グラデーションの種類=横、バリエーション=1で設定します。

If the following sample source code is carried out, plotarea of selected chart will be the color which is already est. in Excel color "Sunset", and type of gradation is horizontal, variation=1.

下記は、GraphControl で使っているコードです。

The source code below is used in GraphControl.

Comments:0

Comment Form

Home > Excel VBA | GraphControl > Excel グラフ 既定のグラデーション (.PresetGradient Style, Type, Variant)

Return to page top