Extending product function with VBA > System Architect events > DiagramClose
  
DiagramClose
Diagram is closed.
Syntax
DiagramClose(hdgm)
Parameter
hdgm
Use: Required
Data type: Long
Diagram handle is passed as hDgm.
See also
System Architect events