I\'ve been having issues concerning pulling data from a closed workbook by using a macro.
First off, do not stick the path into a cell that you plan on overwriting. Instead, create a separate sheet containing vital input parameters (see example below; I'm calling that sheet "System").
The code below pulls data from the workbooks "Raw Data 1" to "Raw Data 3" from the source book.
.
Sub PullClosedData()
Dim filePath As String
Dim SourceWb As Workbook
Dim TargetWb As Workbook
Set TargetWb = ActiveWorkbook
filePath = TargetWb.Sheets("System").Range("A1").Value
Set SourceWb = Workbooks.Open(filePath)
For i = 1 To 3
SourceWb.Sheets("Raw Data " & i).Range("A1:J5000").Copy Destination:=TargetWb.Sheets("Raw Data " & i).Range("A1:J5000")
Next i
SourceWb.Close
MsgBox "All done!"
End Sub