i want to get data in sheet3 of sheet2
Please modify below coding
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("sheet2")("A1:A25")) Is Nothing Then Exit Sub
Application.EnableEvents = True
If Range("sheet2")("A1") <> "" Then
Range("sheet3")("B1:B25") = Range("sheet2")("A1:A25").Value
End If
Application.EnableEvents = True
End Sub
Please modify below coding
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("sheet2")("A1:A25")) Is Nothing Then Exit Sub
Application.EnableEvents = True
If Range("sheet2")("A1") <> "" Then
Range("sheet3")("B1:B25") = Range("sheet2")("A1:A25").Value
End If
Application.EnableEvents = True
End Sub