Exec macros are the simplest form of macros that can be written in Minitab. They are only session commands that are saved in a text file. Exec files must use the *.MTB
file extension.
Here, we will use data in the Macro data.mtw
worksheet to create an Exec file to automate the running of several charts. If we regularly work from a set of data in the same format each week or each month, then we can use a simple Exec such as this one to run all the commands that we would use in the menus.
The Exec file will generate probability, histogram, and time series plots and will then run 1 sample t-test and a 1 Variance test on the data.
We will run the tools from the menus in Minitab in sequence, before using the commands from the history folder to save them as an Exec file.
Open the Macro Data.MTW
worksheet by going to the File menu and selecting Open worksheet….