Mouseover Events

David0079

New Member
Joined
Jul 26, 2007
Messages
44
Does anyone know whether its possible to do MouseOver events in VBA. I've googled it but not really found anything of help! I have some graphic buttons with macros on a spreadsheet and would really like some explanation text to popup when the mouse is over the top of them, kindof like alttext in html. I found one suggestion of unhiding some text in the cell above. Has anyone done anything like this before?

Dave
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

QuietRiot

Well-known Member
Joined
May 18, 2007
Messages
1,079
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
  2. MacOS
I really think this is possible.

I have some code at home (currently at work).

my theory is:

on mouse movements > get cursor postion > if cursor position = that of or around button then > do something ie; create/display comment, text in cell above button etc. then have it removed when cursor postion not = to that set.
 
Upvote 0

Forum statistics

Threads
1,190,600
Messages
5,981,865
Members
439,740
Latest member
TheFlatTire

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
Top