Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
mouse pointer over cell
Can I make the contents of a variable cell (an offset cell depending on the
current date) appear when the mouse pointer hovers over a cell. Have tried using a comment box but this seems only to display the data directly entered and will not accept a function such as "=offset (c,0)" I knew perfectly well it wouldnt work but tried it anyway! Why do I do that?? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
mouse pointer over cell
Hi,
As far as I'm aware there's no mouse_over event in excel but here's a messy workaround that does what you want when the cell is selected. Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Intersect(Target, Range("A1:A100")) Is Nothing Then Range("A1:A100").ClearComments If Target.Offset(, 3).Text < "" Then Target.AddComment Target.Comment.Text Text:=Target.Offset(, 3).Text End If End If End Sub Mike "Atishoo" wrote: Can I make the contents of a variable cell (an offset cell depending on the current date) appear when the mouse pointer hovers over a cell. Have tried using a comment box but this seems only to display the data directly entered and will not accept a function such as "=offset (c,0)" I knew perfectly well it wouldnt work but tried it anyway! Why do I do that?? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
mouse pointer | Excel Discussion (Misc queries) | |||
setting of pointer of mouse | Excel Discussion (Misc queries) | |||
mouse pointer | Excel Discussion (Misc queries) | |||
my mouse pointer locks on a cell in excel | Excel Worksheet Functions | |||
mouse pointer cross doesn't appear | Excel Discussion (Misc queries) |