Share via


AddinUninstall Event [Excel 2003 VBA Language Reference]

Occurs when the workbook is uninstalled as an add-in.

Private Sub Workbook_AddinUninstall()

Remarks

The add-in doesn't automatically close when it's uninstalled.

Example

This example minimizes Microsoft Excel when the workbook is uninstalled as an add-in.

Private Sub Workbook_AddinUninstall()
    Application.WindowState = xlMinimized
End Sub

Applies to | Workbook Object

See Also | AddinInstall Event | WorkbookAddinInstall Event | WorkbookAddinUninstall Event