Global reference to object on Click() sub (VBA)
<p>I was wondering if there's a way to refer to the object of the "Click()" sub. </p>

<p>To make it clearer, let's say we have a button named foo1 and this button has a click sub "foo1_Click()". Does vba has a keyword to get the reference to foo1 that is global?</p>

<p>Something like:</p>

<pre><code>Public Sub foo1_Click()

GlobalKeyword.Property

End Sub
</code></pre>

<p>P.s.: something like the word "this" from java refering to its own instance of class</p>

<p>Edit: In the example, the "GlobalKeyword" would refer to "foo1"</p>