Event fired after a project has been removed from the project tree.

Syntax:

AfterRemoveProject( ProjectFileName As String )
Parameters: ProjectFileName Name of the project file that has been removed.

Example:
' in a class module "EventClass"

Dim WithEvents App As Application

Private Sub App_AfterRemoveProject(ByVal ProjectFileName As String)
 
[...]

End Sub

' in a module

Public EventManager As New EventClass

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

See also:

Class Application

Last Updated: 03/17/21