Description Property [Publisher 2003 VBA Language Reference]
Description property as it applies to the TextStyle object.
Returns a String that represents the description of the specified style. For example, a typical description for the Normal style might be "(Default) Times New Roman, (Asian) MS Mincho, 10 pt, Main (Black), Kerning 14 pt, Left, Line spacing 1 sp." Read-only.
expression.Description
expression Required. An expression that returns one of the objects in the Applies To list.
Description property as it applies to the WebPageOptions object.
Returns or sets a String that represents the description of a Web page within a Web publication. Read/write.
expression.Description
expression Required. An expression that returns a WebPageOptions object.
Example
As it applies to the TextStyle object.
This example displays the description for the Normal style.
Sub ShowStyleDescription()
MsgBox "The Normal style has the following formatting attributes: " & _
vbLf & ActiveDocument.TextStyles("Normal").Description
End Sub
As it applies to the WebPageOptions object.
This example sets the description for page two of the active Web publication.
Dim theWPO As WebPageOptions
Set theWPO = ActiveDocument.Pages(2).WebPageOptions
With theWPO
.Description = "Company Profile"
End With
Applies to | TextStyle Object | WebPageOptions Object