共用方式為


ShapeRange.VerticalFlip Property (Excel)

True if the specified shape is flipped around the vertical axis. Read-only MsoTriState.

Syntax

expression .VerticalFlip

expression A variable that represents a ShapeRange object.

Example

This example restores each shape on myDocument to its original state if it’s been flipped horizontally or vertically.

Set myDocument = Worksheets(1) 
For Each s In myDocument.Shapes 
    If s.HorizontalFlip Then s.Flip msoFlipHorizontal 
    If s.VerticalFlip Then s.Flip msoFlipVertical 
Next

請參閱

概念

ShapeRange Object Members

ShapeRange Object