title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Workbook.AddinUninstall event (Excel) |
vbaxl10.chm503081 |
|
|
e35ba67b-3e04-d950-2f8b-141e478ddb67 |
05/25/2019 |
medium |
Occurs when the workbook is uninstalled as an add-in.
expression.AddinUninstall
expression A variable that represents a Workbook object.
Nothing
The add-in doesn't automatically close when it's uninstalled.
This example minimizes Microsoft Excel when the workbook is uninstalled as an add-in.
Private Sub Workbook_AddinUninstall()
Application.WindowState = xlMinimized
End Sub
[!includeSupport and feedback]