Application.Windows2 Property
Project Developer Reference |
Returns a Windows2 collection representing the open windows in the application. Read-only Object.
Syntax
expression.Windows2
expression A variable that represents an Application object.
Return Value
Windows2
Remarks
The Windows2 property is recommended, in place of the Windows property, for all new development in VBA and external applications developed with the .NET Framework.
Example
The following example cascades all the open windows.
Visual Basic for Applications |
---|
|
See Also