Change color of cell with mouse click in Excel

前端 未结 1 364
南旧
南旧 2021-01-05 23:25

I am trying to create a sheet where our employees can click on a cell to highlight it notating they are working of the task, and then click it again when they are finished w

相关标签:
1条回答
  • 2021-01-06 00:04

    Add a BeforeDoubleClick event with this code in the same sheet:

    Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
    
        Cancel = True
        Worksheet_SelectionChange Target
    
    End Sub
    
    0 讨论(0)
提交回复
热议问题