This topic has not yet been rated - Rate this topic

Table.Descr Property (Word)

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

Version Added: Word 2010

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

Note 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."
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.