A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calling macro in global template



 
 
Thread Tools Display Modes
  #1  
Old June 21st, 2004, 01:37 PM
Bo Rasmussen
external usenet poster
 
Posts: n/a
Default Calling macro in global template

Hi,

How do I call a macro in a global template from another template ? I simply
thought that as the global template is loaded at startup, the macros were
automatically available to other macros. If the macro in the global template
is called Globalmacro, shouldn't it be possible to simply call it by the
simple statement

GlobalMacro

or should it be scoped somehow ?

Regards
Bo Rasmussen


  #2  
Old June 21st, 2004, 05:30 PM
Charles Kenyon
external usenet poster
 
Posts: n/a
Default Calling macro in global template

Application.Run MacroName:= "GlobalMacro"


--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Bo Rasmussen" wrote in message
...
Hi,

How do I call a macro in a global template from another template ? I

simply
thought that as the global template is loaded at startup, the macros were
automatically available to other macros. If the macro in the global

template
is called Globalmacro, shouldn't it be possible to simply call it by the
simple statement

GlobalMacro

or should it be scoped somehow ?

Regards
Bo Rasmussen




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.