הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Flips the specified shape around its horizontal or vertical axis.
Syntax
expression.Flip (FlipCmd)
expression A variable that represents a ShapeRange object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| FlipCmd | Required | MsoFlipCmd | Specifies whether the shape is to be flipped horizontally or vertically. |
Example
This example adds a triangle to myDocument, duplicates the triangle, and then flips the duplicate triangle vertically and makes it red.
Set myDocument = Worksheets(1)
With myDocument.Shapes.AddShape(msoShapeRightTriangle, _
10, 10, 50, 50).Duplicate
.Fill.ForeColor.RGB = RGB(255, 0, 0)
.Flip msoFlipVertical
End With
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.