Hello to all forum dwellers!
Please advice. I have an excel table with workers name and when did they start to install the appliance or whatever. I need to define a specific range of cells (not each cell), which by double clicking on it, current time is shows up.
Ihave this code below, but it's only for one E1 cell:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Address = "$E$1" Then
Target.Value = Time
End If
End Sub
Please advice. I have an excel table with workers name and when did they start to install the appliance or whatever. I need to define a specific range of cells (not each cell), which by double clicking on it, current time is shows up.
Ihave this code below, but it's only for one E1 cell:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Address = "$E$1" Then
Target.Value = Time
End If
End Sub