• 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
246 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
  • 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
  • Trend Micro Maximum Security 3 Devices 1 Year key Global Trend Micro Maximum Security 3 Devices 1 Year key Global
    Rated 5.00 out of 5
    $15.00
Products
  • 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 Visio Standard 2016 Key 1PC Microsoft Visio Standard 2016 Key 1PC $9.00
  • Project Professional 2021 Microsoft Project Professional 2021 - 1 PC $13.00
  • Avast Premium Security 2021 10 Devices 1 Year Global Avast Premium Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $28.00
  • AVG Internet Security 2021 10 Devices 1 Year Global AVG Internet Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $30.00
  • Office 2024 Home And Business For Mac/Pc Bind Office 2024 Home And Business For Mac/Pc Bind $99.00
  • Buy Windows 11 Pro CD Key License Buy Windows 11 Pro CD Key License
    Rated 5.00 out of 5
    $6.00
  • Windows 10 Home Key Global Windows 10 Home Key Global
    Rated 4.81 out of 5
    $10.00
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
  • 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
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.