Minitab is usually used interactively, which means that each command carries out as soon as you click OK in a dialog box or enter it in the Session window. You can also use a Minitab macro -- a set of session commands stored in a file -- to automate a repetitive task, such as generating a monthly report, or to extend Minitab's functionality, such as computing a special test statistic. In other words, you can write macros tailored to your needs.
You start by typing the macro in a word processor or using the History pane of the Project Manager to record your actions. Once you create a macro file, you invoke it in the Session window or Command Line Editor. Type % followed by the macro file name, as in %mymacro.
Introducing Simple Macros
Macros that Start Automatically
Advanced Macros
Controlling Macro Flow
Invoking Macros from within Macros
Managing Input and Output
Prompting a User for Information
Handling Macro Errors
Commands that Work Differently in Macros
Commands Not Allowed in Macros
Using Execs