LastRow Property

LastRow returns or sets the last row of the worksheet used to create the post map or classed post map. To allow Surfer to use the last row in the worksheet, set the LastRow value to zero. Returns a integer.

Syntax

object.LastRow

object.LastRow = LastRow

Parameter

Type

Description

LastRow

Integer

required, value for last row to read from worksheet.

Example 1

This example demonstrates how to set the last row to 43 for a post map.

PostLayer.LastRow= 43

Example 2

This example demonstrates how to set the last row to automatic for a post map.

PostLayer.LastRow= 0

Used by: ClassedPostLayer Object, PostLayer Object