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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|