BrowserLevel Property

As it applies to the DefaultWebOptions object.

WdBrowserLevel

WdBrowserLevel can be one of these WdBrowserLevel constants.
wdBrowserLevelMicrosoftInternetExplorer6
wdBrowserLevelMicrosoftInternetExplorer5
wdBrowserLevelV4

expression.BrowserLevel

expression Required. An expression that returns a DefaultWebOptions object.

Remarks

After you set the BrowserLevel property on the DefaultWebOptions object, the BrowserLevel property of any new Web pages you create in Word will be the same as the global setting.

As it applies to the WebOptions object.

WdBrowserLevel

WdBrowserLevel can be one of these WdBrowserLevel constants.
wdBrowserLevelMicrosoftInternetExplorer6
wdBrowserLevelMicrosoftInternetExplorer5
wdBrowserLevelV4

expression.BrowserLevel

expression Required. An expression that returns a WebOptions obejct.

Example

As it applies to the DefaultWebOptions object.

This example sets Word to optimize new Web pages for Microsoft Internet Explorer 5 and creates a Web page based on this setting.

With Application.DefaultWebOptions
    .BrowserLevel = wdBrowserLevelMicrosoftInternetExplorer5
    .OptimizeForBrowser = True
End With
Documents.Add DocumentType:=wdNewWebPage

As it applies to the WebOptions object.

This example creates a new Web page and optimizes it for Microsoft Internet Explorer 5.

Documents.Add DocumentType:=wdNewWebPage
With ActiveDocument.WebOptions
    .BrowserLevel = wdBrowserLevelMicrosoftInternetExplorer5
    .OptimizeForBrowser = True
End With

Applies to | DefaultWebOptions Object | WebOptions Object

See Also | OptimizeForBrowser Property