Method: Remove for Columns
- Mise à jour2024-09-12
- Temps de lecture : 1 minute(s)
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)