Table.Descr Property (Word)

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

Version Information

Version Added: Word 2010

Syntax

expression .Descr

expression An expression that returns a Table object.

Remarks

Use the Descr property to provide an alternative text description for a table. This property adds text to the Description text box on the Alt Text tab of the Table Properties dialog in Word 2010.

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 description to the first table in the active document.

Dim doc As Document 
Dim tbl As Table 
 
Set doc = ActiveDocument 
Set tbl = doc.Tables(1) 
 
tbl.Descr = "This is a table description."

See Also

Concepts

Table Object Members

Table Object