It's a good idea and it will probably work (I can't test right now).
I wonder if it is possible to fill the field of conditional display for a dimension with macro (I use QV in french so I don't know the exact word for this field in english). Do you know something about it ?
I know you can hide or show Dimensions with variables, but I wonder how to set up which variable to use for which dimension with a macro.
For example, I want to add a dimension called Test and I want this dimension to be displayed if the variable show = 1 (the variable already exists). I can add the dimension with .AddDimension "Test" but I don't know how to manage the conditional display with macro.