This documentation is archived and is not being maintained.

Application.WorkbookAddinUninstall Event

Office 2007
Occurs when any add-in workbook is uninstalled.

Syntax

expression.WorkbookAddinUninstall(Wb)

expression   A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
WbRequiredWorkbookThe uninstalled workbook.

Return Value
Nothing

Example

This example minimizes the Microsoft Excel window when a workbook is installed as an add-in.

Visual Basic for Applications
Private Sub App_WorkbookAddinUninstall(ByVal Wb As Workbook)
    Application.WindowState = xlMinimized
End Sub



Show: