Dynamic tag palette?

Did you make a selection BEFORE running the macro?

View the Clipboard History Switcher to see what is on the clipboard.

Does the prompt appear, asking you to pick a tag?

If you can't get it to work, then please upload the actual macro so I can test.
How to Post/Upload Your Macro to the Forum

Also, you might checkout this example I just posted. It is a general example of your use case, but does NOT include the COPY part: