How can I open Minitab and run a Minitab exec macro from a DOS prompt?

Suppose Minitab is installed to C:\Program Files\Minitab\Minitab {version}. To open Minitab and run an exec macro via a DOS prompt, do the following:

  1. Save your exec (.MTB) file in the default file location.
    Note

    To view or change the default file location, choose File > Options > General.

  2. Open the DOS prompt.
  3. Change the directory to the directory that contains the Minitab program executable, for example C:Program Files\Minitab\Minitab {version}.
  4. Type mtb.exe ExecName.mtb and then press Enter.
    Note

    It may take a few seconds for Minitab to open and for the macro to run.

How can I use MyMenu to customize Minitab's interface? For example, how can I create custom dialog boxes that will run my own macros?

Creating dialog boxes requires programming expertise. You will need to use a programming language such as Visual Basic or C++ to create a *.dll that adds a custom dialog box to Minitab. For more information on how the customization features work, refer to the Minitab Automation Help file, which is accessible as follows:

  1. Browse to C:\Program Files\Minitab\Minitab {version}\Resources\1033
  2. Double-click MTBAUTO.CHM to view documentation for COM and MyMenu.

How do I run macros in the Minitab web app?

You can run macros in the Minitab web app by choosing File > Run Script.