ScrollColumn Property

Applies To

Pane Object, Window Object.

Description

Returns or sets the number of the column that appears at the left of the pane or window. Read-write.

Remarks

If the window is split, Window.ScrollColumn refers to the top left pane. If panes are frozen, Window.ScrollColumn excludes the frozen areas.

See Also

ScrollRow Property.

Example

This example moves column three to the left of the window.


Worksheets("Sheet1").Activate
ActiveWindow.ScrollColumn = 3