Simon Robert
New Member
- Joined
- Jan 31, 2023
- Messages
- 4
- Office Version
- 365
- Platform
- Windows
Hi
I already have the following formula in my worksheet that add the date when the user doubleclick in the column B
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Row >= 5 And Target.Row <= 500 And Target.Column = 2 Then ActiveCell.Value = Time + Date
End Sub
I would like to add something to clear the content of cells C, D, E, F of the same row when the user doubleclick in the column B.
Thanks
I already have the following formula in my worksheet that add the date when the user doubleclick in the column B
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Row >= 5 And Target.Row <= 500 And Target.Column = 2 Then ActiveCell.Value = Time + Date
End Sub
I would like to add something to clear the content of cells C, D, E, F of the same row when the user doubleclick in the column B.
Thanks