WebOptions.ScreenSize property (Word)

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 WebOptions collection.

Example

This example sets the target screen size for the active Web page at 800x600 pixels.

ActiveDocument.WebOptions.ScreenSize = _ 
 msoScreenSize800x600

See also

WebOptions Object

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.