Method: SetActiveCell for ChannelTable
- Updated2024-09-12
- 1 minute(s) read
DIAdem VIEW > Methods > Method: SetActiveCell for ChannelTable
Method: SetActiveCell for ChannelTable
Moves the entry marker to the specified position in a 2D channel table in DIAdem VIEW.
Object.SetActiveCell(RowIndex, ColIndex)
| Object | ChannelTable Object with this method |
| RowIndex | LongInteger Specifies the row index. |
| ColIndex | LongInteger Specifies the column index. |
The following example creates a channel table with one column, and moves the entry marker to the first position:
| VBScript | Python |
View.ActiveSheet.ActiveArea.DisplayObjType = "ChannelTable" Dim oMyObj: Set oMyObj = View.ActiveSheet.ActiveArea.DisplayObj Call oMyObj.Columns.Add("[1]/[3]") Call oMyObj.SetActiveCell(1,1)