title: How to determine which image triggered a macro
body: <p>In excel, I can assign a macro to an image, with this dialog:</p>
  
  <p><img src="https://i.stack.imgur.com/U0CeP.png" alt="enter image description here"></p>
  
  <p>This results in the code:</p>
  
  <pre><code>Private Sub MyShape_Click()
      ' ...
  End Sub
  </code></pre>
  
  <p>However, I will need to assign this macro to many different images.  How can I determine which image was selected from inside my click handler, and how do I get a reference to it?</p>