For x = 1 To FDialog.SelectedItems.Count
FPath = FDialog.SelectedItems(x)
Set WB = Workbooks.Open(FPath)
For Each sheet In ActiveWorkbook.Sheets
sheet.Copy After:=ThisWorkbook.Sheets(1)
Next sheet
WB.Close
Next
For x = 1 To FDialog.SelectedItems.Count
FPath = FDialog.SelectedItems(x)
Set WB = Workbooks.Open(FPath)
With Sheets(1).UsedRange
.Copy Workbooks(fileorg).Sheets(1).Range("a1")
End With
WB.Close
Next