DIAdem Help

Method: RemoveAll for Areas

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

Method: RemoveAll for Areas

Deletes all elements from the Areas collection.

Object.RemoveAll()
ObjectAreas
Object with this method

The following example deletes all areas except the last one, in the enabled worksheet:

VBScriptPython

 

Dim MyName : MyName = View.ActiveSheet.ActiveArea.Name
Call View.ActiveSheets.Areas.Removeall