Keywords Property

Microsoft Publisher Visual Basic

Keywords Property

Returns or sets a String that represents the keywords for a Web page within a Web publication. Read/write.

expression.Keywords

expression    Required. An expression that returns a WebPageOptions object.

Example

The following example sets the keywords for page four of the active publication.

Dim theWPO As WebPageOptions

Set theWPO = ActiveDocument.Pages(4).WebPageOptions

With theWPO
    .Keywords = "software, hardware, computers"
End With