I am trying to get my macro to look at cell C6 and if "1847VM" is in the cell then it will...
Copy E11 and Paste that on Sheet1 in the first open space in Column B starting with C15 and going down from there.
Copy A25:A35 and Paste on Sheet1 in first open space in Column C starting with C15 and going down from there.
Copy D25:D35 and Paste on Sheet1 in the first open space in Column D starting with D15 and going down from there.
Here is what I have so far but I think it needs alot of tweeks.
Thanks in advance
Copy E11 and Paste that on Sheet1 in the first open space in Column B starting with C15 and going down from there.
Copy A25:A35 and Paste on Sheet1 in first open space in Column C starting with C15 and going down from there.
Copy D25:D35 and Paste on Sheet1 in the first open space in Column D starting with D15 and going down from there.
Here is what I have so far but I think it needs alot of tweeks.
Thanks in advance
Code:
Private Sub CommandButton1_Click()
If Target.Column = 3 And Target.Value <> "1847WM" Then
MsgBox Target.Offset(0, -6).Value & " " & Target.Offset(0, -5).Value & " moved to Sheet1."
Application.EnableEvents = False
With Target.EntireRow
.Copy Destination:=Sheets("Sheet1").Range("A" & Rows.Count).End(xlUp).Offset(1)
.Delete
End With
Application.EnableEvents = True
End If
End Sub