Returns the automation object of the active document, if any. This provides access to the contents of the HTML document through the object model. For more information, see the document object section in the Dynamic HTML reference.
Syntax
object.Document
Part Description
object Required. An object expression that evaluates to an object in the Applies To list.