title: BeforeDragOver and BeforeDropOrPaste events VBA
body: <p>How exactly do the <code>BeforeDragOver</code> and <code>BeforeDropOrPaste</code> events work?</p>
  
  <p>I have an Image ActiveX Control on my Workbook and the following code on it:</p>
  
  <pre><code>Private Sub Image1_BeforeDragOver(ByVal Cancel As MSForms.ReturnBoolean, ByVal Data As MSForms.DataObject, ByVal X As Single, ByVal Y As Single, ByVal DragState As MSForms.fmDragState, ByVal Effect As MSForms.ReturnEffect, ByVal Shift As Integer)
  Range("A1").Value = "test1"
  End Sub
  
  Private Sub Image1_BeforeDropOrPaste(ByVal Cancel As MSForms.ReturnBoolean, ByVal Action As MSForms.fmAction, ByVal Data As MSForms.DataObject, ByVal X As Single, ByVal Y As Single, ByVal Effect As MSForms.ReturnEffect, ByVal Shift As Integer)
  Range("A1").Value = "test2"
  End Sub
  </code></pre>
  
  <p>As I try to drag and drop it, nothing happens.</p>