WebOptions Property.WebOptions Property

Publisher Developer Reference

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

Syntax

expression.WebOptions

expression   A variable that represents a WebOptions Property object.

Return Value
WebOptions

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).

Visual Basic for Applications
  With Application.WebOptions
    .AlwaysSaveInDefaultEncoding = False
    .Encoding = msoEncodingUTF8
End With

See Also