Specify a column with an index
VB: Property Get Item(Index As ByVal Object ) As Column
C++: Column Item(_variant_t Index )
C#: Column Item(var Index )
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
8.0SR2