Table of Contents
How to split a large Excel file into multiple files
Manual segmentation
Using Excel VBA
Using third-party tools
Home System Tutorial Windows Series How to Split a Large Excel File Into Multiple Files

How to Split a Large Excel File Into Multiple Files

Apr 06, 2025 pm 02:01 PM

Handling large Excel files: Detailed explanation of multiple segmentation methods

Officially, Microsoft Excel files can contain up to 1,048,576 rows and 16,384 columns. You might think no one needs an Excel file larger than this, but that's not the case. Even if your Excel sheet is far from this size, you may still want to split it into smaller pieces that are easier to manage.

This article will introduce several different ways to segment large Excel files.

How to split a large Excel file into multiple files

Let's look at several different ways (official and third-party) to split large spreadsheets into smaller spreadsheets.

Manual segmentation

Perhaps the easiest (although not the most convenient) way is to manually split the file using just mouse and keyboard shortcuts. The operation steps are as follows:

  1. Drag to highlight the rows and columns you want to split and copy. You can do this by selecting Copy from the context menu (right-click) or using the keyboard shortcut (Ctrl C).

How to Split a Large Excel File Into Multiple Files

  1. Open a new workbook (Ctrl N) and paste the cells into the new spreadsheet. Likewise, you can use the context menu or keyboard shortcuts (Ctrl V).

How to Split a Large Excel File Into Multiple Files

If your data format is different from the blank spreadsheet you paste into, you may need to keep these settings, in which case you need to perform a special paste. The operation steps are as follows:

  1. Copy your data from an existing worksheet (Ctrl C) and open a new workbook (Ctrl N).

  2. In the new spreadsheet, click the down arrow below the Paste button in the Start tab.

How to Split a Large Excel File Into Multiple Files

  1. Select an option that keeps the format constant. Hovering over the option will display a preview of the spreadsheet. In this example, we selected "Reserve source column width".

Using Excel VBA

For one or two spreadsheets, manually splitting the workbook may work, but what if you need to do the same for 30 or 40 worksheets in one workbook? Fortunately, Excel's own programming language, Visual Basic for Applications (VBA), can solve this problem. It is more complex, but it can automate the process and save a lot of time. The operation steps are as follows:

  1. Start by adding VBA to your Review tab. Right-click the tab and select Custom Ribbon.

How to Split a Large Excel File Into Multiple Files

  1. In the pop-up window, in the rightmost window, select the "Development Tools" check box.

  2. Click OK to confirm. The Development Tools tab will now appear in your Excel menu.

Now you can open VBA and write a special process to export the worksheet to a separate file:

  1. You need to enable the VBA code for your workbook by saving the file in the correct format. Save your file as a Macro-enabled workbook. You can select this option from the drop-down menu in Explorer.

How to Split a Large Excel File Into Multiple Files

  1. In the Development Tools tab, click the Visual Basic button to open the code editor.

How to Split a Large Excel File Into Multiple Files

  1. When a new window opens, right-click Sheet 1, then click Insert, and then click Module.

  2. A new "module" will appear in the menu. Rename it to describe the task it will perform, such as "Export_Sheet". Spaces cannot be used.

How to Split a Large Excel File Into Multiple Files

  1. Type the following into the editor:

How to Split a Large Excel File Into Multiple Files

  1. Then select the sheet you want to export to a separate file, open Visual Basic again, and click the Play icon to run the process.

  2. If successful, you will receive a message and your worksheet will be saved separately.

How to Split a Large Excel File Into Multiple Files

Using third-party tools

If the encoding looks a bit too complicated and manual segmentation is not convenient enough, you can also turn to third-party applications. There are many such applications (Split CSV, CSV Splitter and SplitSpreadsheets) that automate the process for you. There are a variety of free and paid options, but like all third-party options, use with caution.

The above is the detailed content of How to Split a Large Excel File Into Multiple Files. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Microsoft's New PowerToys Search Is the Missing Feature Windows 11 Needs Microsoft's New PowerToys Search Is the Missing Feature Windows 11 Needs Apr 03, 2025 am 03:53 AM

Microsoft's latest PowerToys update introduces a game-changing search feature reminiscent of macOS' Spotlight. This improved "Command Palette" (formerly PowerToys Run) surpasses the functionality of the Windows R Run command and the task

Windows kb5054979 update information Update content list Windows kb5054979 update information Update content list Apr 15, 2025 pm 05:36 PM

KB5054979 is a cumulative security update released on March 27, 2025, for Windows 11 version 24H2. It targets .NET Framework versions 3.5 and 4.8.1, enhancing security and overall stability. Notably, the update addresses an issue with file and directory operations on UNC shares using System.IO APIs. Two installation methods are provided: one through Windows Settings by checking for updates under Windows Update, and the other via a manual download from the Microsoft Update Catalog.

These Are My Go-To Free Alternatives for Paid Windows Apps These Are My Go-To Free Alternatives for Paid Windows Apps Apr 04, 2025 am 03:42 AM

Many free apps rival their paid counterparts in functionality. This list showcases excellent free Windows alternatives to popular paid software. I firmly believe in using free software unless a paid option offers a crucial, missing feature. These

You Can Get This Powerful Mini PC for Under $150 Today You Can Get This Powerful Mini PC for Under $150 Today Apr 02, 2025 am 03:55 AM

Kamrui GK3Plus Mini PC: Small and powerful, affordable! During Amazon's spring sale, the Kamrui GK3Plus Mini PC is priced as low as $150! This mini computer has powerful performance, easy upgrade and small size, making it an ideal choice for users who pursue cost-effectiveness. Whether it’s a mini computer enthusiast or a first-time user who’s trying out a small computer, the Kamrui GK3Plus Mini PC is an excellent starter choice. Originally priced at $199, Amazon currently enjoys a 15% discount (and a $20 coupon) and can be purchased for less than $149. Such a affordable price, but with a good configuration: equipped with a slightly old but competent In

Nanoleaf Wants to Change How You Charge Your Tech Nanoleaf Wants to Change How You Charge Your Tech Apr 17, 2025 am 01:03 AM

Nanoleaf's Pegboard Desk Dock: A Stylish and Functional Desk Organizer Tired of the same old charging setup? Nanoleaf's new Pegboard Desk Dock offers a stylish and functional alternative. This multifunctional desk accessory boasts 32 full-color RGB

Microsoft Might Finally Fix Windows 11's Start Menu Microsoft Might Finally Fix Windows 11's Start Menu Apr 10, 2025 pm 12:07 PM

Windows 11's Start Menu Gets a Much-Needed Overhaul Microsoft's Windows 11 Start menu, initially criticized for its less-than-intuitive app access, is undergoing a significant redesign. Early testing reveals a vastly improved user experience. The up

Dell UltraSharp 4K Thunderbolt Hub Monitor (U2725QE) Review: The Best Looking LCD Monitor I've Tested Dell UltraSharp 4K Thunderbolt Hub Monitor (U2725QE) Review: The Best Looking LCD Monitor I've Tested Apr 06, 2025 am 02:05 AM

Dell's UltraSharp 4K Thunderbolt Hub Monitor (U2725QE): An LCD That Rivals OLED For years, I've coveted OLED monitors. However, Dell's new UltraSharp 4K Thunderbolt Hub Monitor (U2725QE) has changed my mind, exceeding expectations with its impressiv

3 Best Ways to Detect and Remove Malware in Windows 11 3 Best Ways to Detect and Remove Malware in Windows 11 Apr 02, 2025 pm 06:27 PM

Mastering Malware Detection in Windows 11: Three Easy Methods Malware, encompassing viruses, adware, and data-stealing code, poses a significant threat. With a staggering 190,000 attacks per second, effective malware detection is crucial. This guide

See all articles