Dynamic Blocks are useful in cutting down the lines of VBA code. Below I show how to create Parameters and assign actions to each of the parameters.
Note: instead of adding mtext in the block. Add a block attribute with Attdef command. This way the pcmark can easily be changed with code.