ShapeRange.Title property (Word)
Returns or sets a String that contains a title for the shapes in the specified shape range. Read/write.
expression A variable that represents a ShapeRange object.
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.
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.
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."
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.