Share via


DefaultWebOptions.TargetBrowser Property

Returns or sets a constant indicating the browser version.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property TargetBrowser As MsoTargetBrowser
    Get
    Set
'Usage
Dim instance As DefaultWebOptions
Dim value As MsoTargetBrowser

value = instance.TargetBrowser

instance.TargetBrowser = value
MsoTargetBrowser TargetBrowser { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTargetBrowser

Remarks

MsoTargetBrowser can be one of these MsoTargetBrowser constants.

msoTargetBrowserIE4 Microsoft Internet Explorer 4.0 or later.

msoTargetBrowserIE5 Microsoft Internet Explorer 5.0 or later.

msoTargetBrowserIE6 Microsoft Internet Explorer 6.0 or later.

msoTargetBrowserV3 Microsoft Internet Explorer 3.0, Netscape Navigator 3.0, or later.

msoTargetBrowserV4 Microsoft Internet Explorer 4.0, Netscape Navigator 4.0, or later.

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.Excel Namespace