B
Bob Vance
This macro copies from 2 cells A150, C152 then lists them on sheet "Two" in
A & B Column, but I am getting a error on the Union line, "Cant copy from
multiple cells"
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
If Target.Address = "$C$152" Then
With Sheets("Two")
If .[A1] = "" Then
Union([A150], [C152]).Copy .[A1]
Else
Union([A150], [C152]).Copy .Range("A" & Rows.Count). _
End(xlUp)(2)
End If
[A1].Select
End With
End If
End Sub
--
Thanks in advance for your help....Bob Vance
..
..
..
..
A & B Column, but I am getting a error on the Union line, "Cant copy from
multiple cells"
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
If Target.Address = "$C$152" Then
With Sheets("Two")
If .[A1] = "" Then
Union([A150], [C152]).Copy .[A1]
Else
Union([A150], [C152]).Copy .Range("A" & Rows.Count). _
End(xlUp)(2)
End If
[A1].Select
End With
End If
End Sub
--
Thanks in advance for your help....Bob Vance
..
..
..
..