Number of rows that have data in this column
VB: Property Get/Let Rows As Integer
C++: int Rows
C#: int Rows
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
8.0SR2