Item Property (Windows Collection) Example

This example maximizes the active window.

Windows.Item(1).WindowState = xlMaximized