Windows Property [Document]

Windows returns a Windows collection containing the windows associated with this document. Returns an object. This is a read-only property.

Syntax

object.Windows

Example

This example demonstrates how to the return the first window in the windows collection.

Debug.Print Doc.Windows(1)

Used by: Document object