method View.Scroll (Type as ScrollEnum, [ScrollTo as Variant])
Scrolls the control's content.

TypeDescription
Type as ScrollEnum A ScrollEnum expression that indicates type of scrolling being performed.
ScrollTo as Variant A long expression that indicates the position where the control is scrolled when Type is exScrollVTo or exScrollHTo. If the ScrollTo parameter is missing, 0 value is used.
Use the Scroll method to scroll the control's content by code. Use the Scrollbars property specifies which scroll bars will be visible on the control. Use the ScrollPos property to get the control's scroll position. Use the EnsureVisibleItem method to ensure that a specified item fits the control's client area. Use the EnsureVisibleColumn method to ensure that a specified column fits the control's client area. If the Type parameter is exScrollLeft, exScrollRight or exScrollHTo the Scroll method scrolls horizontally the control's content pixel by pixel, if the ContinueColumnScroll property is False, else the Scroll method scrolls horizontally the control's content column by column. Use the ScrollPartVisible property to add buttons to the control's scrollbars. Use the Background property to change the visual appearance of the control's scrollbars.