DIAdem Help

Method: Remove for Areas

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

Method: Remove for Areas

Deletes one element from the Areas collection.

Object.Remove(NameOrIndex)
ObjectAreas
Object with this method
NameOrIndexVariant
Specifies the name or the index of the area that is to be deleted.

The following example deletes the enabled area:

VBScriptPython

 

Dim MyName: MyName = View.ActiveSheet.ActiveArea.Name
Call View.ActiveSheet.Areas.Remove(MyName)