Invoking a Global Macro
To invoke, or process, a global macro from Minitab, enter the symbol
% followed by the macro file name. For example, to invoke a macro file
named ANALYZE.MAC, enter the command: %ANALYZE
Notes on invoking macros
· The
default file name extension for macros is MAC. When you invoke a macro
that has an extension of MAC, you only need to type the file name, as
in %ANALYZE. If the extension is not MAC, you must type the file name
and extension, as in %ANALYZE.TXT.
· When
you invoke a macro, by default Minitab looks for that macro file first
in the current folder, then in the Macros subfolder. If the macro
is not in one of those default folders, you can specify the folder
by including a path when you invoke the macro. For example, %c:\SALES\ANALYZE.
· If
a files name includes spaces, put the name in single quotes, as in
%'a very long file name.MAC'