WebOptions Property

Microsoft Publisher Visual Basic

WebOptions Property

Returns a WebOptions object, which represents the properties of Web publications. Read-only.

expression.WebOptions

expression    Required. An expression that returns an Application object.

Example

The following example specifies that Web publications should not always be saved in default encoding, and that the encoding should be Unicode (UTF-8).

With Application.WebOptions
    .AlwaysSaveInDefaultEncoding = False
    .Encoding = msoEncodingUTF8
End With