DIAdem Help

Method: Remove for Columns

  • Updated2024-09-12
  • 1 minute(s) read

Method: Remove for Columns

Deletes one element from the Columns collection.

Object.Remove(NameOrIndex)
ObjectColumns
Object with this method
NameOrIndexVariant
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:

VBScriptPython

 

Call View.ActiveSheet.ActiveArea.DisplayObj.Columns.Remove(1)