WorkbookAddinUninstall Event [Excel 2003 VBA Language Reference]
Occurs when any add-in workbook is uninstalled.
Private Subobject**_WorkbookAddinUninstall(ByValWbAs Workbook)**
object An object of type Application declared with events in a class module. For more information, see Using Events with the Application Object .
Wb The uninstalled workbook.
Example
This example minimizes the Microsoft Excel window when a workbook is installed as an add-in.
Private Sub App_WorkbookAddinUninstall(ByVal Wb As Workbook)
Application.WindowState = xlMinimized
End Sub
Applies to | Application Object
See Also | AddinInstall Event | AddinUninstall Event | WorkbookAddinInstall Event