ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Screentip and Hyperlinks (https://www.excelbanter.com/excel-programming/328002-screentip-hyperlinks.html)

dan

Screentip and Hyperlinks
 
When creating a hyperlink Text to disply is simple enough. but can you have
the screentip text reference a cell from say sheet3 cell b5?? if so how?

Doug Glancy

Screentip and Hyperlinks
 
Dan,

Just reference it with the ScreenTip parameter like this:

ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= _
"Sheet2!A1", ScreenTip:=Worksheets("Sheet3").Range("B5").Value,
TextToDisplay:="Sheet2!A1"

hth,

Doug

"Dan" wrote in message
...
When creating a hyperlink Text to disply is simple enough. but can you
have
the screentip text reference a cell from say sheet3 cell b5?? if so how?





All times are GMT +1. The time now is 02:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com