hello
I try desighn macro to copy cells value from sheet to another the cells value in column a in sheet1 contains empty cells among cells value and supposes copying to sheet2 in column b without empty cells but it doesn't work
what I want when write cell value in column a in sheet1 automatically copy to col b in sheet2
may be my code doesn't make sense , but I try to learn how to write code
I'm a new begginer in vba , so I try learning from the internet
I put the expected result in sheet2
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then
If Target.Value <> "" Then
Target.Value = Sheets("sheet2").Columns(2)
End If
End If
End Sub
thanks in advance