Horizontally scrolls through the active window one window at a time. Use HPAGE to change the displayed area of a worksheet or macro sheet.
Syntax
HPAGE(num_windows)
Num_windows specifies the number of windows to scroll through the active window horizontally. A window is defined as the number of visible columns. If three columns are visible in the window, HPAGE scrolls through in increments of three columns.
If num_windows is positive, HPAGE scrolls to the right.
If num_windows is negative, HPAGE scrolls to the left.
Related Functions
HLINE Horizontally scrolls through the active window by columns
HSCROLL Horizontally scrolls through a worksheet by percentage or by column number
VLINE Vertically scrolls through the active window by rows
VPAGE Vertically scrolls through the active window one window at a time
VSCROLL Vertically scrolls through a worksheet by percentage or by row number
Return to index