Application.WebOptions property (Publisher)

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

Syntax

expression.WebOptions

expression A variable that represents an Application 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).

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

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.