Consulting

Results 1 to 5 of 5

Thread: is it possible to do screen tips without hyperlinks

  1. #1

    is it possible to do screen tips without hyperlinks

    i want to be able to hover over a cell and have it display what the 2 letters in it represent.

    like for example DP the screen tip would say "Down Payment"

    so is it possible? i know it can be done with hyperlinks but i dont want to link it to anything. and i dont want to link it to that specific cell either incase i sort the spreadsheet that hyperlink would then be incorrect.

  2. #2
    VBAX Expert JP2112's Avatar
    Joined
    Oct 2008
    Location
    Astoria, NY
    Posts
    590
    Location
    How about comments?

    Right click the cell, choose "Insert Comment".

  3. #3
    is there any other way? i dont really wanna go the comment route

  4. #4
    VBAX Expert JP2112's Avatar
    Joined
    Oct 2008
    Location
    Astoria, NY
    Posts
    590
    Location
    Only way I know of. It would be nice if you could use some form of Tooltip (like when you hover over a toolbar button).

    You could always make the suggestion at http://www.makeofficebetter.com or http://blogs.msdn.com/excel/

    --JP

  5. #5
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    Quote Originally Posted by RoadDog83
    but i dont want to link it to anything. and i dont want to link it to that specific cell either in case i sort the spreadsheet that hyperlink would then be incorrect.
    you can link it to a named range (I've called it 'justme' below) and have that named range redefined to be the current cell each time the selection is changed with this in the Thisworkbook code module:
    [vba]Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
    Application.Names.Add "justme", RefersTo:="=" & ActiveSheet.Name & "!" & ActiveCell.Address
    End Sub[/vba] (Put the text you want to pop up, in the Screen Tip of the hyperlink)
    To deal with it being a bit disconcerting if the user switches sheets and clicks straight onto a hyperlink instead of just hovering over it, the following code could be placed in the sheet code module wherever there are such hyperlinks:
    [vba]Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
    Application.Goto Target.Range
    End Sub
    [/vba]Sorting the cells doesn't matter - all behaves as you'd expect. It might be even better if you use Application.screenupdating=false?
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •