'How do I know the name of an image I clicked on that has a macro assigned to it

I have an image with the assigned name 'boo', represented as a shape in my excel document. I have a macro assigned to 'boo'. When I click the boo image to activate the macro, I'd like to be able to know the .name of the image I clicked.

selection.name did not work, as clicking an image that has a macro is not the same as selecting an image with .select.

In essence, if I click on an image to activate the assigned macro, how can I find out the name of the image?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source