Application.DefaultWebOptions Property

PowerPoint Developer Reference

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

Syntax

expression.DefaultWebOptions

expression   A variable that represents an Application object.

Return Value
DefaultWebOptions

Example

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

Visual Basic for Applications
  Set objAppWebOptions = Application.DefaultWebOptions
With objAppWebOptions
    If .Encoding = msoEncodingWestern Then
        strDocEncoding = "Western"
    End If
End With

See Also