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.
Returns or sets the ideal minimum screen size (width by height, in pixels) that you should use when viewing the saved document in a web browser. Read/write MsoScreenSize.
Syntax
expression.ScreenSize
expression Required. A variable that represents a DefaultWebOptions collection.
Example
This example sets the target screen size at 800x600 pixels.
Application.DefaultWebOptions.ScreenSize = _
msoScreenSize800x600
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.