Table.Descr property (Word)
Returns or sets a String that contains a description for the specified table. Read/write.
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.
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
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.