title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Workbook.Open event (Excel) |
vbaxl10.chm503073 |
|
|
313adc5e-0319-4ca4-cf5d-791b7184dacf |
05/29/2019 |
medium |
Occurs when the workbook is opened.
expression.Open
expression An expression that returns a Workbook object.
This example maximizes Microsoft Excel whenever the workbook is opened.
Private Sub Workbook_Open()
Application.WindowState = xlMaximized
End Sub
[!includeSupport and feedback]