Hover over cell - display value from other cell

virtuosok

Board Regular
Joined
Sep 2, 2020
Messages
209
Office Version
  1. 365
Platform
  1. Windows
Hi,
I understand it's only possible to do so via VBA?
I have a range B3:X17 on Tab1, and I wonder if by hovering over, let's say, cell C10 in Tab1, I can see an entry from cell C10 in Tab2 from within the same workbook - so that it pops up as a ScreenTip. Same for all other cells. Thanks in advance for any ideas!
 
hi

so just checking, your sheet with the comments is called "Tab1"
 
Upvote 0

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
It's called DM, but I have replaced references to "Tab1" with "DM" within VBA code...
The other tab is called DMhistory so likewise I substituted "Tab2" with "DMhistory" in VBA code.
 
Upvote 0
thats strange

so if you use this code

when you have the sheet with the comments in it active

it does not work?

VBA Code:
Sub tryme()
For Each mycom In Application.ActiveSheet.Comments
    mycom.Shape.TextFrame.AutoSize = True
Next
End Sub
 
Upvote 0
I tried the above code in my workbook and I realized that we're talking two different types of comment, so to say.
The first one, with the VBA code from the previous page in this thread, has comments of this sort:
1631569194481.png

...whereas if I insert "manual" comments into the worksheet to see how the "tryme" code works, I have classic Excel 365 comments:
1631569303373.png

Could that be the reason?
 
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,812
Members
449,095
Latest member
m_smith_solihull

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