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