Show a popup Comment

AlexanderBB

Well-known Member
Joined
Jul 1, 2009
Messages
1,953
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Is it possible for VBA to show a popup comment as if the mouse had moved over the cell ?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Add a note to the cell? I believe notes used to be called comments. If that's not what you mean then I'd say no because a cell does not have a mousemove event.
 
Upvote 0
What was originally comments has been rebadged as Notes (very confusing I know, even worse since it is still called comment in VBA).
They are the ones that have the little yellow pop up box when you hover over it and their purpose is making annotations.
The word comments now refers to Threaded Comments which are aimed more at collaboration and generally involve you including an email address which notifies someone you have been collaborating with on the spreadsheet and creates a conversation thread linked to that cell.

I believe this change only exists in MS 365, so you are most likely referring to the Old Type Comment now called Note.
If you record a macro Showing a note you will get this:
VBA Code:
    ActiveCell.Comment.Visible = True
Something like this would act as a toggle switch.
VBA Code:
    ActiveCell.Comment.Visible = Not ActiveCell.Comment.Visible
 
Upvote 0
Thanks the the info. I have a lot of "notes" and usually the mouse hover is perfect. But would have been cute if sometimes
they could be controlled some other way. Like having an adjacent cell show/hide the popup like the actual cell. Probably a bridge too far.
 
Upvote 0

Forum statistics

Threads
1,221,531
Messages
6,160,364
Members
451,642
Latest member
mirofa

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