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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

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)

win11 activation key permanent 2025 win11 activation key permanent 2025 Mar 18, 2025 pm 05:57 PM

Article discusses sources for a permanent Windows 11 key valid until 2025, legal issues, and risks of using unofficial keys. Advises caution and legality.

win11 activation key permanent 2024 win11 activation key permanent 2024 Mar 18, 2025 pm 05:56 PM

Article discusses reliable sources for permanent Windows 11 activation keys in 2024, legal implications of third-party keys, and risks of using unofficial keys.

Acer PD163Q Dual Portable Monitor Review: I Really Wanted to Love This Acer PD163Q Dual Portable Monitor Review: I Really Wanted to Love This Mar 18, 2025 am 03:04 AM

The Acer PD163Q Dual Portable Monitor: A Connectivity Nightmare I had high hopes for the Acer PD163Q. The concept of dual portable displays, conveniently connecting via a single cable, was incredibly appealing. Unfortunately, this alluring idea quic

The Best Monitor Light Bars of 2025 The Best Monitor Light Bars of 2025 Mar 08, 2025 am 03:02 AM

Reduce eye strain and brighten your workspace with a monitor light bar! These handy gadgets adjust brightness and color temperature, some even offering auto-dimming. This updated review (03/04/2025) highlights top picks across various needs. BenQ

Top 3 Windows 11 Gaming Features That Outshine Windows 10 Top 3 Windows 11 Gaming Features That Outshine Windows 10 Mar 16, 2025 am 12:17 AM

Upgrade to Windows 11: Enhance Your PC Gaming Experience Windows 11 offers exciting new gaming features that significantly improve your PC gaming experience. This upgrade is worth considering for any PC gamer moving from Windows 10. Auto HDR: Eleva

How to Create a Dynamic Table of Contents in Excel How to Create a Dynamic Table of Contents in Excel Mar 24, 2025 am 08:01 AM

A table of contents is a total game-changer when working with large files – it keeps everything organized and easy to navigate. Unfortunately, unlike Word, Microsoft Excel doesn’t have a simple “Table of Contents” button that adds t

This Wild Ultra-Wide Alienware Monitor is $300 Off Today This Wild Ultra-Wide Alienware Monitor is $300 Off Today Mar 13, 2025 pm 12:21 PM

Alienware AW3225QF: The best curved 4K display, is it worth buying? The Alienware AW3225QF is known as the best curved 4K display, and its powerful performance is unquestionable. The fast response time, stunning HDR effects and unlimited contrast, coupled with excellent color performance, are the advantages of this monitor. Although it is mainly aimed at gamers, if you can accept the shortcomings of OLED, it is also suitable for office workers who pursue high efficiency. Widescreen monitors are not only loved by gamers, but also favored by users who value productivity improvement. They are great for work and enhance anyone’s desktop experience. This Alienware monitor is usually expensive, but is currently enjoying it

ReactOS, the Open-Source Windows, Just Got an Update ReactOS, the Open-Source Windows, Just Got an Update Mar 25, 2025 am 03:02 AM

ReactOS 0.4.15 includes new storage drivers, which should help with overall stability and UDB drive compatibility, as well as new drivers for networking. There are also many updates to fonts support, the desktop shell, Windows APIs, themes, and file

See all articles