Item Property (Windows Collection)
Applies To
Windows collection object.
Description
Returns a single Window object from a Windows collection.
Syntax
expression.Item(Index)
expression Required. An expression that returns a Windows object.
Index Required Variant. The index number of the window.
Example
This example maximizes the active window.
Windows.Item(1).WindowState = xlMaximized