Mouseover

lynxbci

Board Regular
Joined
Sep 22, 2004
Messages
201
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hello, can you program excel to recognise when you move a mouseover a particular cell?

ta
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

yee388

Well-known Member
Joined
Mar 7, 2004
Messages
1,374
I believe you have to click on a cell to trigger an Event macro. However, you can use comments, which will display when the user hovers over the cell...
 

lynxbci

Board Regular
Joined
Sep 22, 2004
Messages
201
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Well thats just poop isn't it. Oh well i will have to click instead

ta
 

lynxbci

Board Regular
Joined
Sep 22, 2004
Messages
201
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
can i use a single click to activate my program / macro?
 

yee388

Well-known Member
Joined
Mar 7, 2004
Messages
1,374
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)

'customize this range...
If Target.Address <> "$A$1" Then Exit Sub

MsgBox "You clicked on A1"

End Sub
 

Forum statistics

Threads
1,147,681
Messages
5,742,597
Members
423,740
Latest member
JCF_

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