Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (28 sloc) 1002 Bytes
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
ShapeRange.RelativeHorizontalPosition Property (Word)
vbawd10.chm162857260
vbawd10.chm162857260
word
Word.ShapeRange.RelativeHorizontalPosition
f1150705-3004-3987-3826-70f402105a99
06/08/2017

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