Share via


DefaultWebOptions.TargetBrowser Property

PowerPoint Developer Reference

Represents the default browser used with Microsoft Office PowerPoint. Read/write.

Syntax

expression.TargetBrowser

expression   A variable that represents a DefaultWebOptions object.

Return Value
MsoTargetBrowser

Remarks

The value of the TargetBrowser property can be one of these MsoTargetBrowser constants.

msoTargetBrowserIE4
msoTargetBrowserIE5
msoTargetBrowserIE6
msoTargetBrowserV3
msoTargetBrowserV4

Example

This example sets the target browser for all presentations to Internet Explorer 6.

Visual Basic for Applications
  Sub GlobalTargetBrowser()
    Application.DefaultWebOptions _
        .TargetBrowser = msoTargetBrowserIE6
End Sub

See Also