Method: Remove for Columns
- Updated2024-09-12
- 1 minute(s) read
DIAdem VIEW > Methods > Method: Remove for Columns
Method: Remove for Columns
Deletes one element from the Columns collection.
Object.Remove(NameOrIndex)
| Object | Columns Object with this method |
| NameOrIndex | Variant Specifies the name or the index of the table column that is to be deleted. |
The following example deletes the first column from a channel table. The DisplayObj must be a ChannelTable type:
| VBScript | Python |
Call View.ActiveSheet.ActiveArea.DisplayObj.Columns.Remove(1)