Partager via


DefaultWebOptions.TargetBrowser Property (Word)

Sets or returns an MsoTargetBrowser constant representing the target browser for documents viewed in a Web browser. Read/write.

Syntax

expression .TargetBrowser

expression Required. A variable that represents a DefaultWebOptions collection.

Example

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

Sub GlobalTargetBrowser() 
 Application.DefaultWebOptions _ 
 .TargetBrowser = msoTargetBrowserIE6 
End Sub

See Also

Concepts

DefaultWebOptions Object Members

DefaultWebOptions Object