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