ActiveDocument Property

See Also         Example         Applies To

Returns a Document object that represents the active document (the document with the focus). If there are no documents open, an error occurs. Read-only.