Method: RemoveAll for Areas
- Updated2024-09-12
- 1 minute(s) read
DIAdem VIEW > Methods > Method: RemoveAll for Areas
Method: RemoveAll for Areas
Deletes all elements from the Areas collection.
Object.RemoveAll()
| Object | Areas Object with this method |
The following example deletes all areas except the last one, in the enabled worksheet:
| VBScript | Python |
Dim MyName : MyName = View.ActiveSheet.ActiveArea.Name Call View.ActiveSheets.Areas.Removeall