Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 939 Bytes

Excel.Shape.HorizontalFlip.md

File metadata and controls

41 lines (26 loc) · 939 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Shape.HorizontalFlip property (Excel)
vbaxl10.chm636099
vbaxl10.chm636099
Excel.Shape.HorizontalFlip
e9b64a81-3aef-5d42-0a65-5d03d564a71f
05/14/2019
medium

Shape.HorizontalFlip property (Excel)

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

Syntax

expression.HorizontalFlip

expression A variable that represents a Shape object.

Example

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 
Next

[!includeSupport and feedback]