Have got some code running based upon your suggestion....
But you could do something like putting two images from from the control toolbox
toolbar over the cells.
Images 2 to 10 are the smaller ones which are contained within Image1 - as
per my code:
Two points arise:
(1) For neatness, is there a method whereby the code for buttons 2 to 10
can be simplified? Perhaps a button array?
(2) The functionality is exactly as required - hidden text pops up when the
mouse passes acros the respective image - but if the user clicks the mouse
over the hidden cell - far from selecting the cell - the event seems to
trigger an endless loop associated with the images until the mouse is moved
away. Can this be disabled?
This is what I am running:
Option Explicit
Private Sub Image1_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, ByVal X As Single, _
ByVal Y As Single)
' Reset to Grey text
Range("A4:I4").Font.ColorIndex = 15
End Sub
Private Sub Image2_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, ByVal X As Single, _
ByVal Y As Single)
Range("A4").Font.ColorIndex = 1
End Sub
Private Sub Image3_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, ByVal X As Single, _
ByVal Y As Single)
Range("B4").Font.ColorIndex = 1
End Sub
Private Sub Image4_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, ByVal X As Single, _
ByVal Y As Single)
Range("C4").Font.ColorIndex = 1
End Sub
Private Sub Image5_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, ByVal X As Single, _
ByVal Y As Single)
Range("D4").Font.ColorIndex = 1
End Sub
Private Sub Image6_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, ByVal X As Single, _
ByVal Y As Single)
Range("E4").Font.ColorIndex = 1
End Sub
Private Sub Image7_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, ByVal X As Single, _
ByVal Y As Single)
Range("F4").Font.ColorIndex = 1
End Sub
Private Sub Image8_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, ByVal X As Single, _
ByVal Y As Single)
Range("G4").Font.ColorIndex = 1
End Sub
Private Sub Image9_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, ByVal X As Single, _
ByVal Y As Single)
Range("H4").Font.ColorIndex = 1
End Sub
Private Sub Image10_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, ByVal X As Single, _
ByVal Y As Single)
Range("I4").Font.ColorIndex = 1
End Sub