Object Model Reference : Classes : W : Windows : Methods : Windows.CloseAll |
Sub CloseAll()
Member of Windows
The CloseAll method closes all open windows in CorelDRAW.
• |
You are prompted to save your changes for each document that is dirty when
you execute the CloseAll method.
|
The following VBA example closes all windows in the application, prompting the user to save the document if dirty.
Sub Test() |
ActiveDocument.Windows.CloseAll |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.