I have this code:
Code: Select all
Private Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
Application.EnableEvents = False
On Error Resume Next
If Not Intersect(Target, Range("G3:G102")) Is Nothing And Target.Value <> "" Then
Target.Offset(0, 3).Copy
Sheets("Sheet2").Range("A" & Rows.Count).End(xlUp).Offset(1).PasteSpecial xlPasteValuesAndNumberFormats
End If
I've tried: If Selection.Cells.Count > 1
And: Intersect(Target, Range("G3:G102")).Cells.Count > 1
No luck!
TX