ShapeRange.RelativeHorizontalPosition property (Word)

Specifies the relative horizontal position of a range of shapes. Read/write WdRelativeHorizontalPosition.

Syntax

expression. RelativeHorizontalPosition

expression An expression that represents a ShapeRange object.

Example

This example repositions the selected shape object.

With Selection.ShapeRange 
 .Left = InchesToPoints(0.6) 
 .RelativeHorizontalPosition = wdRelativeHorizontalPositionPage 
 .Top = InchesToPoints(1) 
 .RelativeVerticalPosition = wdRelativeVerticalPositionParagraph 
End With

See also

ShapeRange Collection Object

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.