Shape.HorizontalFlip property (Excel)

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



expression A variable that represents a Shape object.


This example restores each shape on myDocument to its original state if it has 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 

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.