aliffrusli
New Member
- Joined
- Mar 20, 2023
- Messages
- 8
- Office Version
- 2016
- Platform
- Windows
Hi expertise,
I already enable worksheet change that will record every single data after click in specific cell. But, I have one problem onto count (preferably in range G:G) the cell within same row in multiple cell. Can anyone help me on this? Thank you.
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.CountLarge > 1 Then Exit Sub
If Target.Column <> Range("F2:F100000").Column Then Exit Sub
Target.Offset(0, 2).Insert xlToRight
Target.Offset(0, 2).Value = Target.Value
End Sub
I already enable worksheet change that will record every single data after click in specific cell. But, I have one problem onto count (preferably in range G:G) the cell within same row in multiple cell. Can anyone help me on this? Thank you.
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.CountLarge > 1 Then Exit Sub
If Target.Column <> Range("F2:F100000").Column Then Exit Sub
Target.Offset(0, 2).Insert xlToRight
Target.Offset(0, 2).Value = Target.Value
End Sub