Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Application.WorkbookAddinInstall Event

Office 2007
Occurs when a workbook is installed as an add-in.

Syntax

expression.WorkbookAddinInstall(Wb)

expression   A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
WbRequiredWorkbookThe installed workbook.

Return Value
Nothing

Example

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

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



Community Additions

ADD
Show:
© 2015 Microsoft