CloseAll

Syntax

Application.CloseAll()

Parameters

None

Returns

Nothing

Remarks

Closes all views of all open documents. The COM client must not use any open Document objects again; it is advisable to set all such object variables to Nothing.

This method is equivalent to the Close All command, except that modified documents are discarded immediately without being saved.