# Combine Multiple Excel Files into One Workbook with Separate Sheets

Get FREE Advanced Excel Exercises with Solutions!

Often, we have to deal with multiple Excel files, which is inconvenient. Things get easier if we can combine those Excel files into a single workbook. In this article, weâ€™ll show you the effective ways to Combine Multiple Excel Files into One Workbook with Separate Sheets.

## Download Practice Workbook

To practice by yourself, download the following workbook.

## Dataset Introduction

To illustrate, Iâ€™m going to use a sample dataset as an example. For instance, the following figure represents three different Excel Files and each of them has a different Sheet.

## 4 Ways to Combine Multiple Excel Files into One Workbook with Separate Sheets

### 1. Apply Move or Copy Operation to Combine Multiple Excel Files into One Workbook with Separate Sheets

Excel provides many different Features and we use them to perform various operations. One of such kinds is the Move or Copy. In our first method, weâ€™ll use this feature to Combine Multiple Excel Files into One Workbook with Separate Sheets. Therefore, follow the steps below to perform the task.

STEPS:

• First, open the second Excel file (Combine Excel files 2).
• Next, select the sheet (Sheet2) and right-click on the mouse.
• Then, click Move or Copy.

• As a result, the Move or Copy dialog box will pop out.
• There, select Combine Excel files.xlsx from To book options and select (move to end) in the field Before sheet.
• After that, press OK.

• Again, open the third Excel file (Combine Excel files 3).
• Select sheet (Sheet3) and right-click on the mouse.
• Subsequently, select Move or Copy.

• Then, in the To book field, select Combine Excel files.xlsx, and in the Before sheet, select (move to end).
• Press OK.

• Finally, youâ€™ll see the combined Excel files in a single workbook but separate sheets.

### 2. Combine Multiple Excel Files into One Workbook with Paste Link Feature

Excel offers multiple pasting options in the worksheet. Paste Link is one of them. We use this feature to link different worksheets from a single workbook or different workbooks. Here, weâ€™ll use this feature in this method. So, learn the steps below to know how to Combine Multiple Files into One Workbook.

STEPS:

• Firstly, copy cell B2 from Sheet2 in the Combine Excel files 2.

• Then, go to the destination workbook. In this example, the destination is Combine Excel files.
• Here, select cell B2 or any other cell you want.
• After that, select Paste Link from the Paste Options.

• As a result, itâ€™ll create a formula by itself like itâ€™s shown in the below image.

• Next, remove all the â€˜\$â€™ signs present in the formula and use the AutoFill tool to complete the series.
• Consequently, itâ€™ll return the source worksheet just like the way itâ€™s shown in the following picture.

• Now, repeat the steps for the third ExcelÂ file.
• Lastly, youâ€™ll get your desired single workbook with separate sheets.

Similar Readings

### 3. Use Power Query to Combine Multiple Files into One Workbook with Separate Sheets

Excel Power Query Editor is helpful in many cases. We can merge multiple Excel files into one file using this feature. Hence, follow the below process to combine the files.

STEPS:

• In the beginning, open the first workbook (Combine Excel files).
• Then, go to Data âž¤ Get Data âž¤ From File âž¤ From Workbook.

• As a result, the Import Data window will pop out. Here, select Combine Excel files 2 and press Import.

• After that, the Navigator window will pop out. There, press Load.

• Consequently, itâ€™ll add Sheet2 from the second workbook as a Table.

• Again repeat the process to get Sheet3 from the third workbook.
• In the end, youâ€™ll get all the sheets from different Excel files in your chosen workbook.

Related Content: How to Combine Rows from Multiple Sheets in Excel (4 Easy Methods)

### 4. Excel VBA to Combine Multiple Files into One Workbook with Separate Sheets

If you donâ€™t want to go through all the details mentioned in the previous methods, you can use a single VBA Code to merge all the Excel files you want. Weâ€™ll use Excel VBA in our last method to combine multiple Excel files into a single workbook with separate sheets. Therefore, learn the process given below to carry out the task.

STEPS:

• Firstly, open the destination workbook. Here, itâ€™s Combine Excel files.
• Next, select Visual Basic from the DeveloperÂ tab.

• Then, select Module in the InsertÂ tab.

• As a result, the Module window will pop out.
• There, insert the code given below.
``````Sub CombineFiles()
Dim FilesSelected, i As Integer
Dim tempFile As FileDialog
Dim MainBook, sourceBook As Workbook
Dim Sheet As Worksheet
Set MainBook = Application.ActiveWorkbook
Set tempFile = Application.FileDialog(msoFileDialogFilePicker)
tempFile.AllowMultiSelect = True
FilesSelected = tempFile.Show
For i = 1 To tempFile.SelectedItems.Count
Workbooks.Open tempFile.SelectedItems(i)
Set sourceBook = ActiveWorkbook
For Each Sheet In sourceBook.Worksheets
Â Â Â  Sheet.Copy after:=MainBook.Sheets(MainBook.Worksheets.Count)
Next Sheet
Â Â Â  sourceBook.Close
Next i
End Sub``````

• After that, close the Visual BasicÂ window.
• Now, under the Developer tab, select Macros.

• Consequently, the Macro dialog box will pop out, and select CombineFiles in the Macro name.
• Press Run.

• As a result, a Browse window will pop out. There, select the files you want to combine and press OK.

• Eventually, youâ€™ll get all your desired workbooks in a single Excel file with separate sheets.

## Conclusion

Henceforth, you will be able to Combine Multiple Excel Files into One Workbook with Separate Sheets using the above-described methods. Keep using them and let us know if you have any more ways to do the task. Donâ€™t forget to drop comments, suggestions, or queries if you have any in the comment section below.

## Related Articles

Aung Shine

My name is Aung. I have my B.Sc. degree in EEE. From now on, I will be working with Microsoft Excel and other useful software, and Iâ€™ll upload articles related to them. My current goal is to write technical contents for anybody and everybody that will make the learning process of new software and features a happy journey.

We will be happy to hear your thoughts

Advanced Excel Exercises with Solutions PDF