ShapeRange.Title property (Word)

Returns or sets a String that contains a title for the shapes in the specified shape range. Read/write.

Syntax

expression.Title

expression A variable that represents a ShapeRange object.

Remarks

Use the Title property to provide an alternative text title for a shape. This property adds title text to the Title text box on the Alt Text pane of the Format Shape dialog in Word.

Note

Web browsers display alternative text while tables are loading or if they are missing. Web search engines use the alternative text to help find Web pages. Alternative text is also used to assist disabilities.

Example

The following code example adds an alternative text title to the first and third shapes in the active document.

ActiveDocument.Shapes.Range(Array(1, 3)).Title = "Part of a shape array."

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.