View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mike Ogden Mike Ogden is offline
external usenet poster
 
Posts: 3
Default Single click event

Open the vb editor and double click on the workbook and add the following
code:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Target.Interior.Color = 65535
End Sub

change the 65535 (which is yellow) to whatever color you want...


"isy Taman" wrote in message
...
I would like to change the colour of a cell whenever it is
selected either through the keyboard or with a mouse click
(Single Click)
Thank you