The DIAdem VIEW panel consists of objects and subobjects that you create, delete, and modify with a script. The global object is the View object. Many subobjects have collections of single objects. You can access the single objects and the collection. Use the Set statement to assign objects to a variable and to make it easier to access these objects. You use the Add methods to create all objects except the Area object. Split an Area object to create a new object. You use the Remove methods to delete existing objects. You use properties to change objects.
The illustrated structure of the objects in the DIAdem VIEW panel shows you how to click to the objects:
The following example changes the name of the enabled area in the enabled worksheet:
Set oMyArea = View.ActiveSheet.ActiveArea oMyArea.Name = "MyName"