Application.WorkbookAddinUninstall Event (Excel)
Occurs when any add-in workbook is uninstalled.
Syntax
expression .WorkbookAddinUninstall(Wb)
expression A variable that represents an Application object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Wb |
Required |
The uninstalled workbook. |
Return Value
Nothing
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