Writing Minitab Macros
A question for Minitab macro writers: I would like to create a new menu that contains all of my macros. I already know how to create the menu and populate it, but run into a limiting factor.
When invoking a macro from the command line, you type %BLANDALT C1 C2 telling Minitab to run the BLANDALT macro using the data in columns C1 and C2. You can enter any column numbers as desired.
I can hard code C1 and C2 into the menu, but lose flexibility, and must remember that my data must always be in C1 and C2.
What I would like to do is invoke the macro, and send a prompt to the screen asking the user to enter the two column numbers. The user would enter the column numbers and the macro would process. I have figured out how to send the prompt using NOTE, but cannot get Minitab to accept the input of column IDs. I can enter the raw data using SET, but already have that in the worksheet.
I am using the BLANDALT macro from the Minitab website as a test case.
Can this be done?
__________________
"A fool can learn from his own experiences; the wise learn from the experience of others." - Democritus, 460-370 B.C.
|