If you're using KM10, you could try this way that makes use of the new %AccessedVariables%
token:
It should get rid of any variables used in your macros regardless of their prefix.
If you're using KM10, you could try this way that makes use of the new %AccessedVariables%
token:
It should get rid of any variables used in your macros regardless of their prefix.