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