Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 814 Bytes

Excel.Shape.GraphicStyle.md

File metadata and controls

39 lines (23 loc) · 814 Bytes
title keywords f1_keywords api_name ms.date ms.localizationpriority
Shape.GraphicStyle property (Excel)
vbaxl10.chm636157
vbaxl10.chm636157
Excel.Shape.GraphicStyle
05/14/2019
medium

Shape.GraphicStyle property (Excel)

Returns or sets an MsoGraphicStyleIndex constant that represents the style of an SVG graphic. Read/write.

Syntax

expression.GraphicStyle

expression A variable that represents a Shape object.

Example

The following code example changes the graphic style for the first shape in the active document.

Dim myShape As Shape 
 
Set myShape = ActiveDocument.Shapes(1) 
 
myShape.GraphicStyle = msoGraphicStylePreset22

[!includeSupport and feedback]