How to: Programmatically Close Visio Documents
You can close the active Microsoft Office Visio document by using the Microsoft.Office.Interop.Visio.Document.Close method.
For details about this method, see the VBA reference documentation for the Microsoft.Office.Interop.Visio.Document.Close method.
To close the active document
Show: