Declare variables to hold the documents.
In code in the first template
Dim Doc1 and Document, Doc2 as Document
Set Doc1 = ActiveDocument
then, create the second document by using
Set Doc2 = Documents.Add("Name of Template for second document")
Then refer to the documents as Doc1 and Doc2

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Hey there, i have a problem where i have one template opening another
> so they share the same data only when its finished i want it to go
[quoted text clipped - 5 lines]
>
> Matthew
matthew.rodwell@luptonfawcett.com - 29 Oct 2007 17:35 GMT
I still can't get this to work...i am unalbe to swap back to the
original template once the other is loaded
Russ - 29 Oct 2007 18:52 GMT
Matthew,
What do you mean by template?
A Word template is a .dot file.
A regular document is a .doc file.
Word documents can also be forms with form fields for user input.
Userforms are not those kind of forms but are like popup dialog forms for
user interaction, whose data then get injected into documents via code.
Doug's method should work with documents. At the end of his code; to go back
to the original active document, you now refer to it as Doc1 and use
Doc1.Activate
> I still can't get this to work...i am unalbe to swap back to the
> original template once the other is loaded
[quoted text clipped - 22 lines]
>>>
>>> Matthew

Signature
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID