• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

Guide on how to split Excel Sheets into separate Excel files

0 Comments

Guide on how to split Excel Sheets into separate Excel files: In an Excel file, you can create multiple sheets to keep track of and switch between related content. However, having too many sheets can increase the file size and make opening the file slower, especially when you use add-ins or VBA macro codes. The solution at this point is to split the sheets into separate Excel files. This way, the content in the sheet is still preserved, the sheet name becomes the name of each file, and the formulas used in the sheet are not changed or result in errors. This article will guide you on how to split each sheet in Excel into separate files.

Example: Let’s say we have an Excel file containing multiple sheets as shown in the figure below. The requirement is to split those sheets into separate Excel files. Please follow the steps below to split the sheet.

Guide on how to split Excel Sheets into separate Excel files

Guide on how to split Excel Sheets into separate Excel files

Step 1

To split the sheet into separate Excel files, first, you need to select the Developer tab on the toolbar. Then, select Visual Basic under the Code section. Or you can use the shortcut key Alt + F11 to quickly open the VBA window.

Guide on how to split Excel Sheets into separate Excel files

Guide on how to split Excel Sheets into separate Excel files

Step 2

At this point, the Microsoft Visual Basic for Applications window appears. Select the Insert tab on the toolbar. Then, select the Module option in the scrolling list.

Guide on how to split Excel Sheets into separate Excel files

Guide on how to split Excel Sheets into separate Excel files

Step 3

At this point, the Module dialog box appears. Copy the following code into the dialog box.

Sub Splitbook()
'Updateby20140612
Dim xPath As String
xPath = Application.ActiveWorkbook.Path
Application.ScreenUpdating = False
Application.DisplayAlerts = False
For Each xWs In ThisWorkbook.Sheets
xWs.Copy
Application.ActiveWorkbook.SaveAs Filename:=xPath & "\" & xWs.Name & ".xls"
Application.ActiveWorkbook.Close False
Next
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub

Then click on the Run icon on the toolbar to run this code.

Guide on how to split Excel Sheets into separate Excel files

Guide on how to split Excel Sheets into separate Excel files

Step 4

After running the code, the result you will get is that each sheet is split into a separate Excel file while still preserving the data.

Guide on how to split Excel Sheets into separate Excel files

Guide on how to split Excel Sheets into separate Excel files

When you open the separate Excel files for each sheet, you will see a notification as shown below. You just need to click Yes to be able to edit the data normally.

Guide on how to split Excel Sheets into separate Excel files

Guide on how to split Excel Sheets into separate Excel files

So, this article has guided you on how to split the sheet into separate Excel files. Hopefully, this article will be useful to you in your work. Wish you success!

Rate this post
29
250 Views
How to save an Excel file containing VBA MacrosPrevHow to save an Excel file containing VBA MacrosMarch 21, 2023
Automatically Color Rows and Columns Based on Mouse PointerMarch 21, 2023Automatically Color Rows and Columns Based on Mouse PointerNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Kaspersky Total Security 2021 1 year 5 devices key Global Kaspersky Total Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $46.00
  • Avast Premium Security 2021 Avast Premium Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.00
  • Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL
    Rated 5.00 out of 5
    $17.00
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
  • AVG Internet Security 2021 10 Devices 2 Years Global AVG Internet Security 2021 10 Devices 2 Years Global
    Rated 5.00 out of 5
    $42.20
Products
  • Microsoft Visio 2019 Professional Key Global Microsoft Visio 2019 Professional Key Global - 5 PC
    Rated 4.93 out of 5
    $19.00
  • Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year
    Rated 5.00 out of 5
    $201.00
  • Windows Server 2016 Essentials Key Global Windows Server 2016 Essentials Key Global
    Rated 4.79 out of 5
    $10.00
  • Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year
    Rated 5.00 out of 5
    $164.50
  • Microsoft SQL Server 2019 Enterprise Microsoft SQL Server 2019 Enterprise $39.00
  • Kaspersky Internet Security 2021 1 year 5 devices key Global Kaspersky Internet Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $45.00
  • Microsoft Visio 2016 professional CD Key Global Microsoft Visio 2016 professional CD Key Global
    Rated 4.94 out of 5
    $28.50
  • Windows 10 Pro Key Global Windows 10 Pro Key Global
    Rated 4.74 out of 5
    $6.00
  • Microsoft Office 2019 Home and Student for PC Key Global bind to your Microsoft account Microsoft Office 2019 Home and Student for PC Key Global bind to your Microsoft account
    Rated 4.95 out of 5
    $58.00
  • Windows Server 2022 Datacenter Key Global Windows Server 2022 Datacenter Key Global
    Rated 5.00 out of 5
    $7.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.