ben_sorensen
New Member
- Joined
- Jun 11, 2015
- Messages
- 44
I think this should be relatively easy to answer but my code keeps popping an error and I can't figure out why I am trying to take a section of another workbook and paste the values in a section of the workbook that I am working in:
Sub GetDemandPlan1()
With Sheets("Paste Day 1 Demand Plan Here")
.Rows(3 & ":" & .Rows.Count).Delete
End With
Workbooks("Demand Planning Shop X for 01-27-2018.xlsx"). _
Sheets("Demand Planning").Range("A3:DZ250").Copy _
Sheets("Paste Day 1 Demand Plan Here").Range("A3:DZ250") _
.PasteSpecial paste (xlPasteValues, Operation:=xlNone, skipblanks:= False, _
Transpose:= False
End Sub
Any help would be appreciated.
Sub GetDemandPlan1()
With Sheets("Paste Day 1 Demand Plan Here")
.Rows(3 & ":" & .Rows.Count).Delete
End With
Workbooks("Demand Planning Shop X for 01-27-2018.xlsx"). _
Sheets("Demand Planning").Range("A3:DZ250").Copy _
Sheets("Paste Day 1 Demand Plan Here").Range("A3:DZ250") _
.PasteSpecial paste (xlPasteValues, Operation:=xlNone, skipblanks:= False, _
Transpose:= False
End Sub
Any help would be appreciated.