G
Guest
can someone help me add to his macro, after it copys each line I need it to
delete the values in the A Column , E Column and F column, but i cant figure
it out.. anyone help would be appreciated. Thanks!
Sub CopyToSheetz()
Dim rng As Range
Dim oCell As Range
Set rng = Range("B4:B" & Cells(Rows.Count, "B").End(xlUp).Row)
For Each oCell In rng
oCell.EntireRow.Copy _
Destination:=Sheets(oCell.Value).Range("A65536").End(xlUp).Offset(1,
0)
Next oCell
End Sub
delete the values in the A Column , E Column and F column, but i cant figure
it out.. anyone help would be appreciated. Thanks!
Sub CopyToSheetz()
Dim rng As Range
Dim oCell As Range
Set rng = Range("B4:B" & Cells(Rows.Count, "B").End(xlUp).Row)
For Each oCell In rng
oCell.EntireRow.Copy _
Destination:=Sheets(oCell.Value).Range("A65536").End(xlUp).Offset(1,
0)
Next oCell
End Sub