WebPageOptions object (Publisher)

Represents the properties of a single webpage within a web publication, including options for adding the title and description of the page and background sounds. The WebPageOptions object is a member of the Page object.

Remarks

Use the WebPageOptions property of the Page object to return a WebPageOptions object.

Use the Description property to set the description of a specified webpage.

Note

The WebPageOptions object is only available when the active publication is a web publication. A run-time error is returned if trying to access this object from a print publication.

Example

The following example sets the description for the second page of the active web publication.

Dim theWPO As WebPageOptions 
 
Set theWPO = ActiveDocument.Pages(2).WebPageOptions 
 
With theWPO 
 .Description = "Company Profile" 
End With

Methods

Properties

See also

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.