Chapter 11. Macro Writing

In this chapter, we will cover the following recipes:

  • Exec macros to repeat simple commands
  • Building a Global macro to create a custom graph layout
  • Obtaining input from the session window with a Global macro
  • Creating a Local macro
  • Local macros with subcommands, submacros, and control statements

Introduction

Minitab does have a macro language that can be used to automate simple tasks or run more sophisticated functions. Here, we will explore the three different types of macro in Minitab. The recipes follow a set of commands that are used to create a panel of charts. In each recipe, we will build on the previous example until we get to the final, complicated, but sophisticated, Local macro. This will show you the differences between ...

Get Minitab Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.