ScrollColumn Property

Microsoft Office Web Components Object Model

ScrollColumn Property

       

Returns or sets the number of the leftmost column in the pane or window. If the panes are frozen, this property excludes the frozen areas. Read/write Long.

expression.ScrollColumn

expression   Required. An expression that returns a Window object.

Example

This example moves column C so that it's the leftmost column in the window.

Spreadsheet1.ActiveWindow.ScrollColumn = 3