2.6.4 Item
Contents
Description
Specify a column with an index
Syntax
VB: Property Get Item(Index As ByVal Object ) As Column
C++: Column Item(_variant_t Index )
C#: Column Item(var Index )
Parameters
- Index
- --
Remark
Examples
VB
Sub Item() 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 find active worksheet") Exit Sub End If Dim col As Origin.Column col = wks.Columns.Item(0) 'get first column MsgBox(col.Name.ToString()) End Sub
Version Information
8.0SR2