ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Mouse movement on worksheet (https://www.excelbanter.com/excel-programming/320469-mouse-movement-worksheet.html)

InExcelHell

Mouse movement on worksheet
 
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)?

gocush[_28_]

Mouse movement on worksheet
 
Does this work for you:

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

Ridght click the sheet TABViewCodeWorksheet in the General textbox





"InExcelHell" wrote:

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)?



All times are GMT +1. The time now is 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com