Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Scrolls the contents of a window vertically, horizontally, or both.
Syntax
expression. Scroll( _nxFlags_ , _nyFlags_ )
expression A variable that represents a Window object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| nxFlags | Required | Long | Indicates how to scroll horizontally. |
| nyFlags | Required | Long | Indicates how to scroll vertically. |
Return value
Nothing
Remarks
If the Window object is not a built-in MDI or built-in docked stencil type, the Scroll method raises an exception.
Constants representing ways to scroll horizontally are declared by the Visio type library in VisWindowScrollX, and constants representing ways to scroll vertically are declared in VisWindowScrollY.
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.