![]() |
Single click event
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 |
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 |
All times are GMT +1. The time now is 08:12 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com