I have built a macro that utilises the inbuilt macro Test of Means and the Summarise tool to output statistics on each field selected. Currently, within the macro workflow I have duplicated the calculation 10 times and created a dropdown box for each instance. A better solution would be to have one instance of the calculation and run the analysis for each field selected within a list box. How would I best implement this?
I assume the solution would involve transposing the fields to rows and use a batch macro. However, I do not know how to do this such that the macro only requires 1 input and 1 output.
Macro Configuration and Output:

Macro Workflow:
