Hi,

How can I call a function in a global template (loaded from the startup
menu) from other document templates?

Any help is appreciated.

Raymond

Re: calling functions in a global template by Raymond

Raymond
Wed Dec 03 06:02:18 CST 2003

Ok,

I found it.
Application.Run...

Thanks,
Raymond

"Raymond Bissonnette" <raybiss@yahoo.com> wrote in message
news:uUcEA9UuDHA.1224@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> How can I call a function in a global template (loaded from the startup
> menu) from other document templates?
>
> Any help is appreciated.
>
> Raymond
>
>



Re: calling functions in a global template by Jonathan

Jonathan
Wed Dec 03 06:34:52 CST 2003


"Malcolm Smith" <malcol.smith@droganqdrup.com> wrote in message
news:memo.20031203121053.7480P@mksmith.aits-uk.net...
> I would just reference the global template from your document template and
> then call the routine as normal.

That is all very well if you are only using the macros on your own PC. If
you plan to distribute the global template, then problems start because the
reference had-codes the full pathname of the global template, and so nothing
will work if the template is placed in a different location on another PC.

>
> I would avoid Application.Run if at all possible.

Ho hum. I've never had a problem with Application.Run. Do you have any
particular reason for offering that advice?

--
Regards
Jonathan West - Word MVP
http://www.multilinker.com
Please reply to the newsgroup