WorkbookActivate Event Example
This example arranges open windows when a workbook is activated.
Private Sub App_WorkbookActivate(ByVal Wb As Workbook) Application.Windows.Arrange xlArrangeStyleTiled End Sub