LastRow Property [WksStatistics]

LastRow returns the last row from which the data were retrieved. Returns a variant. This is a read-only property.

Syntax

object.LastRow( Col )

Parameter

Type

Description

Col

Long

optional, default=1 (column A)

Example

This example demonstrates how to return the last row from which the data were retrieved in column C.

Debug.Print "Last Input Row "; Stats.LastRow(3)

Used by: WksStatistics object