Description Property

Applies To

Style object.

Description

Returns the description of the specified style. For example, a typical description for the Heading 2 style might be "Normal + Font: Arial, 12 pt, Bold, Italic, Space Before 12 pt After 3 pt, KeepWithNext, Level 2." Read-only String.

See Also

NameLocal property.

Example

This example creates a new document and inserts a tab-delimited list of the active document's styles and their descriptions.

Set myDoc = ActiveDocument
Set newDoc = Documents.Add
For Each sty In myDoc.Styles
    With newDoc.Range
        .InsertAfter Text:=sty.NameLocal & Chr(9) & sty.Description
        .InsertParagraphAfter
    End With
Next sty