Home > Excel VBA | GraphControl > Excel グラフをテキスチャに設定する Texture of ground colors(PresetTextured)

Excel グラフをテキスチャに設定する Texture of ground colors(PresetTextured)


エクセルグラフを既定のテキスチャに設定するマクロです。

Set up Excel chart by texture of ground colors which is fixed in Excel.

テキスチャの名前Name of TexturePresetTexturedNumber
PapyrusmsoTexturePapyrus1
キャンバスCanvasmsoTextureCanvas2
デニムDenimmsoTextureDenim3
WovenMatmsoTextureWovenMat4
しずくWaterDropletsmsoTextureWaterDroplets5
紙袋PaperBagmsoTexturePaperBag6
化石FishFossilmsoTextureFishFossil7
Sand msoTextureSand8
大理石(緑)GreenMarblemsoTextureGreenMarble9
大理石(白)WhiteMarblemsoTextureWhiteMarble10
大理石(茶)BrownMarblemsoTextureBrownMarble11
みかげ石GranitemsoTextureGranite12
新聞紙NewsprintmsoTextureNewsprint13
再生紙RecycledPapermsoTextureRecycledPaper14
セーム皮ParchmentmsoTextureParchment15
ひな形StationerymsoTextureStationery16
青い画用紙BlueTissuePapermsoTextureBlueTissuePaper17
ピンクの画用紙PinkTissuePaper msoTexturePinkTissuePaper18
紫のメッシュPurpleMeshmsoTexturePurpleMesh19
ブーケBouquetmsoTextureBouquet20
コルクCorkmsoTextureCork21
くるみWalnutmsoTextureWalnut22
オークOakmsoTextureOak23
木目MediumWoodmsoTextureMediumWood24

下記コードは、エクセルグラフの色をエクセル既定のテキスチャ(紙)にします。下の2つの行は同じ意味です。

   ActiveChart.PlotArea.Fill.PresetTextured PresetTexture:=1 ''---Papyrus

   ActiveChart.PlotArea.Fill.PresetTextured PresetTexture:=msoTexturePapyrus

The source code below is to set up chart by using texture of raw ground colors which are fixed in Excel. The codes above are same meaning. msoTexturePapyrus = 1 as Integer.

GraphControl で使用しているコードです。

the source code below is used in GraphControl.

Comments:0

Comment Form

Home > Excel VBA | GraphControl > Excel グラフをテキスチャに設定する Texture of ground colors(PresetTextured)

Return to page top