Sure. I put a list of file names with path in "File Path". I intended to use the following code to open the workbook from "File Path" and copy some range from tabA and tabB to paste on tab 2011Data. Then, go to the next workbook from "File Path" to repeat the copying and pasting.
Many Thanks!
Private Sub CommandButton1_Click()
Application.ScreenUpdating = False
Dim i As Integer
Dim WorkbookName As String
Dim RemoteWkbk As Excel.Workbook, CurrWkbk As Excel.Workbook
i = 1
While Len(Range("File Path").Offset(i, 0)) > 0
' Open workbook
WorkbookName = Workbooks("File Path").Offset(i, 0)
'Open workbook
Set RemoteWkbk = Workbooks.Open(WorkbookName)
' Copy contents
x = RemoteWkbk.Worksheets("tabA").Range("A9:B12").Value
y = RemoteWkbk.Worksheets("tabB)").Range("A8:D20").Value
' Paste contents
CurrWkbk.Worksheets("2011Data").Range("P1").Offset(13 * (i - 1), 0).Resize(UBound(x, 1), UBound(x, 2)) = x
CurrWkbk.Worksheets("2011Data").Range("R1").Offset(13 * (i - 1), 0).Resize(UBound(y, 1), UBound(y, 2)) = y
RemoteWkbk.Close False
i = i + 1
Wend
Application.ScreenUpdating = False
End Sub