> Hi
>
[quoted text clipped - 11 lines]
> The big question is....... Is there another way to create the references,
> i.e. with a function?
Instead of using a reference, call the routine in the other template using
the Application.Run method.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Lasse - 06 Sep 2007 10:38 GMT
Hi Jonathan
Thanks for the quick reply.
When I use Application.Run I can only get it to run subs not functions as
long as the template file isn't added as a static reference.
Can I insert the functions as parameters to the application.run?
> > Hi
> >
[quoted text clipped - 14 lines]
> Instead of using a reference, call the routine in the other template using
> the Application.Run method.
Jonathan West - 07 Sep 2007 10:37 GMT
> Hi Jonathan
>
[quoted text clipped - 4 lines]
>
> Can I insert the functions as parameters to the application.run?
Try something like this
x = Application.Run("myMacro", "My first parameter")

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup