WebBrowserControl.ScrollTop Property (Access)
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

WebBrowserControl.ScrollTop Property (Access)

Gets or sets the distance, in pixels, between the top edge of the WebBrowser object and the topmost portion of the content currently visible in the control. Read/write Long.

Version Added: Access 2010

expression .ScrollTop

expression A variable that represents a WebBrowserControl object.

This property value equals the current horizontal offset of the content within the scrollable range. Although you can set this property to any value, if you assign a value less than 0, the property is set to 0. If you assign a value greater than the maximum value, the property is set to the maximum value.

This property is always 0 for objects that do not have scroll bars. For these objects, setting the property has no effect.

© 2016 Microsoft