WebOptions Object (Publisher)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents the properties of a Web publication, including options for saving and encoding the publication, and enabling Web-safe fonts and font schemes. The WebOptions object is a member of the Application object.

The properties of the WebOptions object are used to specify the behavior of Web publications. This means that when any of these properties are modified, newly created Web publications inherit the modified properties.

Note that the WebOptions object is available from print publications and Web publications. However, the properties of this object have no effect on print publications.

Use the WebOptions property on the Application object to return a WebOptions object. The following example sets an object variable equal to the Microsoft Publisher WebOptions object.

Dim theWO As WebOptions 
Set theWO = Application.WebOptions