2.5.18 Rows


Description

Number of rows that have data in this column

Syntax

VB: Property Get/Let Rows As Integer
C++: int Rows
C#: int Rows

Parameters

Remark

Examples

VB

    Sub GetRowNumber()
        Dim app As Origin.IOApplication
        Dim wks As Origin.Worksheet

        app = New Origin.ApplicationSI
        wks = app.FindWorksheet("")
        If wks Is Nothing Then
            MsgBox("Can not get active worksheet")
            Exit Sub
        End If
        MsgBox(wks.Columns(0).Rows) 'number of rows of the first column
    End Sub

Version Information

8.0SR2

See Also