This topic has not yet been rated - Rate this topic

WebPageOptions Object (Publisher)

Represents the properties of a single Web page within a Web publication, including options for adding the title and description of the page, background sounds, in addition to other options. The WebPageOptions object is a member of the Page object.

Note that 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.

Use the WebPageOptions property on the Page object to return a WebPageOptions object. Use the Description property to set the description of a specified Web page. 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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.