Mouse movement on worksheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way of capturing mouse events over a worksheet (API would be
fine, but it would be nice to capture single/double click events, etc)?
 
Does this work for you:

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
' Your code
End Sub

Ridght click the sheet TAB>ViewCode>Worksheet in the General textbox
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top