title: Passing Arguments to Method registered with onAction Event(VBA - Excel)
body: <p>How do you pass an argument to a method which is registered with the onAction event in Excel VBA?</p>
  
  <p>The code I have is:</p>
  
  <pre><code>With ActiveSheet.CheckBoxes.Add(rCell.Left, rCell.Top, rCell.Width, rCell.Height)
          .Interior.ColorIndex = xlNone
          .Caption = ""
          .OnAction = "CheckboxChange"
  End With
  </code></pre>
  
  <p>I want to pass the "rCell" to the "CheckboxChange" sub routine. Any way to do that. Basically I want to know the cell in which the checkbox was present in the CheckboxChange sub routine.</p>