Event fired if a workspace has been opened.

Syntax:

OnOpenWorkspace(Workspace As Workspace)
Parameters: Workspace Workspace that has been opened.

Example:
' in a class module "EventClass"

Dim WithEvents App As Application

Private Sub App_OnOpenWorkspace(ByVal Workspace As Workspace)
 
[...]

End Sub

' in a module

Public EventManager As New EventClass

Sub TestMacro()
	Set EventManager.App = Application
End Sub

See also:

Class Application

Last Updated: 04/26/05