I'm wondering how to set a reference to the document that is created, when the Document_New() procedure runs from a template. I can use code from the template to refer to the ActiveDocument, which is fine if the new document remains the active one. And I can use ThisDocument in the template code to refer to the template itself. But how can I set a reliable reference that always points to the new document?
thanks
Alan



