Windows Property [Document]

The Windows property returns an AutoWindows 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 AutoWindows collection containing the windows associated with this document.

Debug.Print Doc.Windows(1)

 

Used by: Document object