title: Get the worksheet of the button which called the macro
body: <p>In a VBA macro, how do I get the worksheet object where the button which called the macro is located?</p>
  
  <p>I tried for example</p>
  
  <pre class="lang-vb prettyprint-override"><code>ActiveSheet.shapes(Application.Caller).TopLeftCell.Worksheet.Name
  </code></pre>
  
  <p>but I obviously need to not use <code>ActiveSheet</code> for obtaining it.</p>