편집

다음을 통해 공유


ScrollLeft, ScrollTop properties

Specify the distance, in points, of the left or top edge of the visible form from the left or top edge of the logical form, page, or control.

Syntax

object.ScrollLeft [= Single ]
object.ScrollTop [= Single ]

The ScrollLeft and ScrollTop property syntaxes have these parts:

Part Description
object Required. A valid object.
Single Optional. The distance from the edge of the form.

Remarks

The minimum value is zero; the maximum value is the difference between the value of the ScrollWidth property and the value of the Width property for the form or page.

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.