DefaultWebOptions Property

Microsoft PowerPoint Visual Basic

Returns the DefaultWebOptions object, which contains global application-level attributes used by Microsoft PowerPoint when you publish or save a complete or partial presentation as a Web page or open a Web page. Read-only.

Example

This example checks to see whether the default document encoding is Western. If it is, the string strDocEncoding is set accordingly.

Set objAppWebOptions = Application.DefaultWebOptions
With objAppWebOptions
    If .Encoding = msoEncodingWestern Then
        strDocEncoding = "Western"
    End If
End With