Upravit

Sdílet prostřednictvím


Table.Title property (Word)

Returns or sets a String that contains a title for the specified table. Read/write.

Syntax

expression.Title

expression A variable that represents a 'Table' object.

Remarks

Use the Title property to provide an alternative text title for a table. This property adds title text to the Title text box on the Alt Text tab of the Table Properties 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 table title to the first table in the active document.

ActiveDocument.Tables(1).Title = "Table 1."

See also

Table 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.