While building in this functionality would be ideal, I can envision a way to do this using loops. However, while I was trying to build a test macro to illustrate this, I found that the repeat action (variable # of times) loop is no longer working in MD version 5.23.
Here is the link to the POC...