Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.