How to powerclip with macro

Making Id card setting, to right hand with 10 color shade to identify that its id card with data. And to left hand the object with the setting. I want to powerclip each color in the object.

Here is how it should set with the final result (see image below)

I tried with normal record macro. It did not work. Any suggestion or help how it work. Thanks

File