Hi,

I would like to change A1 cell's Interior.ColorIndex to red color and A1's font format to Italic, while mouse cursor on top of A1 cell.

Can i do it with a VBA code?

Thanks a lot.


For example:

[vba]
Sub CursorOnA1()
If MouseCursor OnTopOf [A1] Then
With [A1]
.Interior.ColorIndex = 3
.Font.Italic = True
End If
End If
End Sub
[/vba]