WorkspaceClose Event

Home Page (Objects)OverviewFAQReference

Applies to: Application object

Occurs after a workspace closes.

Syntax

object_WorkspaceClose

Parameters

object

An expression that evaluates to an Application object.

Remarks

Developer Studio fires this event after a workspace closes.

For an overview about using event code, see the introduction to events.

Example

Following is a sample event handler for the WorkspaceClose event. Copy this into your macro file, and then insert the appropriate code.

sub    Application_WorkspaceClose()
   ' Insert code to handle the event here
end sub

See Also   WorkspaceOpen event.