Share via


WebOptions.OptimizeForBrowser Property (Word)

True if Word optimizes the specified Web page for the Web browser specified by the BrowserLevel property. Read/write Boolean.

Syntax

expression .OptimizeForBrowser

expression Required. A variable that represents a WebOptions collection.

Example

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

See Also

Concepts

WebOptions Object

WebOptions Object Members