Occurs when the workbook is opened.
Syntax
expression.Open
expression An expression that returns a Workbook object.
Examples
This example maximizes Microsoft Excel whenever the workbook is opened.
'------------------ ThisWorkbook ------------------
Private Sub Workbook_Open()
Application.WindowState = xlMaximized
End Sub