The special macro On_Document_Open_Complete is run when any document is opened or created (new or open or open template). This macro does not replace any action, but gives you access to the document at a point after it has been opened, but before it is displayed in a document window. The new document is available from the ActiveDocument object.
The special macro On_Document_Close is called when a document closes.
Copyright © SoftQuad Software Inc. 1999