WebPageOptions.Keywords property (Publisher)

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

Syntax

expression.Keywords

expression A variable that represents a WebPageOptions object.

Return value

String

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

Support and feedback

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.