Mouse Event Handling...

bapcki1

New Member
Joined
Nov 12, 2011
Messages
39
Hi Everyone!

If anyone has a spare moment, I would really appreciate any help with Mouse Event Handling in Excel VBA.

I have had a look on Google and I either can't find what I am looking for or the code examples are a bit too advanced for me.

I am looking to:

-Detect if the mouse button has/still is depressed
-Detect if the mouse button has been released
-Enable/Disable the mouse button
-"On mouse button click [do procedure]"
-Position Mouse Pointer to set position on the screen


You do not have to solve all the problems above or write fresh code examples yourself, a suitable link will be fine.

As I say, I have had a look on Google and I can't find simple examples of the codes I require.

Many thanks in advance,
Bapcki
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top