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
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for