WebBrowserControl.ScrollLeft property (Access)

Gets or sets the distance, in pixels, between the left edge of the WebBrowserControl object and the leftmost portion of the content currently visible in the control. Read/write Long.

Syntax

expression.ScrollLeft

expression A variable that represents a WebBrowserControl object.

Remarks

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 don't have scroll bars. For these objects, setting the property has no effect.

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.