LastColumn Property

LastColumn returns the last column in the range. Returns a long. This is a read-only property.

Syntax

object.LastColumn

Example

This example demonstrates how to return the last column of a range.

Debug.Print WksRange.LastColumn

Used by: WksRange object