ScrollHeight, ScrollWidth properties

Specify the height, in points, of the total area that can be viewed by moving the scroll bars on the control, form, or page.

Syntax

object.ScrollHeight [= Single ]
object.ScrollWidth [= Single ]

The ScrollHeight and ScrollWidth property syntaxes have these parts:

Part Description
object Required. A valid object.
Single Optional. The height or width of the scrollable region.

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.