ShapeRange.LockAnchor property (Word)

True if the anchor for the specified ShapeRange object is locked to the anchoring range. Read/write Long.

Syntax

expression. LockAnchor

expression Required. A variable that represents a ShapeRange object.

Remarks

When a range of shapes has a locked anchor, you cannot move the shapes' anchor by dragging it. The anchor does not move as the shape is moved.

A ShapeRange object is anchored to a range of text, but you can position it anywhere on the page. If the range of shapes is anchored to the beginning of the first paragraph that contains the anchoring range, the shapes always remain on the same page as the anchor.

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.