Document Property

The Document property returns the document associated with the window. Returns an Object. This is a read-only property.

Syntax

object.Document

Example

This example shows how to return the name of the window in use.

Debug.Print Window.Document

 

Used by: AutoWindow object