Application.WorkbookAddinUninstall event (Excel)
Occurs when any add-in workbook is uninstalled.
expression A variable that represents an Application object.
|Wb||Required||Workbook||The uninstalled workbook.|
For information about how to use event procedures with the Application object, see Using events with the Application object.
This example minimizes the Microsoft Excel window when a workbook is uninstalled as an add-in.
Private Sub App_WorkbookAddinUninstall(ByVal Wb As Workbook) Application.WindowState = xlMinimized End Sub
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.