LeftColumn Property

 

The LeftColumn property returns or sets the first visible column in the window. Returns a long.

 

Syntax

object.LeftColumn

object.LeftColumn = Col

 

Parameter

Type

Description

Col

Variant

required; column number, column A = 1

 

Example 1

This example demonstrates how to return the first column visible in a worksheet window.

 

Debug.Print WksWindow.LeftColumn

 

Example 2

This example demonstrates how to set column C as the first column visible in a worksheet window.

 

WksWindow.LeftColumn=3

 

Used by: WksWindow object