KutoolsforOffice — One Suite. Five Tools. Get More Done.February Sale: 20% Off

How to save a selection as an individual file in Excel?

AuthorKellyLast modified

When working with large workbooks, you may sometimes want to save just a specific range of cells or a portion of a worksheet as a separate Excel file—for sharing, archiving, or focused analysis. Fortunately, Excel offers a few effective ways to do this. In this article, we’ll cover some practical methods to save a selection as an individual file, including both manual and automated approaches.

Save selections as individual Excel files by copying and pasting

Save Selections as individual Excel files with Kutools for Excel

Save selections as individual Excel files with VBA Macro


Save selections as individual files by copying and pasting

This method is straightforward and commonly used, making it especially suitable for one-time or occasional exports. By manually copying and pasting your selection, you can quickly generate a new file with just the data you need.

  1. Select the range of cells you want to export.
  2. Press "Ctrl + C" to copy it.
  3. Press "Ctrl + N" to open a new blank workbook.
  4. Select cell A1 and press "Ctrl + V" to paste the selection.
  5. Go to "File" > "Save As", choose your desired location and save the file.

Save Selections as individual Excel files with Kutools for Excel

Kutools for Excel's "Export Range to File" tool allows you to conveniently save any selected range as an individual file with just a few clicks. It supports exporting to multiple formats such as Excel, PDF, CSV, and even HTML. You can customize the output file name, save location, and formatting options—making it an ideal solution for users who need to share or archive specific parts of their worksheet without manually copying and pasting.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, follow these steps to save your selection as a separate file:

  1. Select the data range you wish to save as an individual Excel file. 
  2. Click "Kutools Plus" > "Import / Export" > "Export Range to File".
    click Export Range to File of kutools
  3. In the pop-up dialog box, configure your export options:
    • Choose "Excel workbook" as the file format for typical workbook exports. Alternatively, select other formats such as HTML, CSV, or PDF for specialized sharing needs.
    • Check the options to preserve formatting, row height, and column width. These settings ensure your exported file matches your selection’s appearance in the original worksheet.
    • Select the directory where you want to save the new Excel file. It’s advisable to create a dedicated folder if you plan to export several files for organization.
    • Once you’ve reviewed all options, click the OK button.
      specify the options in the dialog box
  4. When prompted, enter the desired name for your file. Choose a descriptive name if you plan to keep or share several files.
    type a name for the file
  5. Click OK. The selected range will be immediately saved as a new Excel file in the specified location.
Tips:
  • The "Export Range to File" tool in Kutools for Excel preserves all cell formatting and layout within your selection, minimizing adjustment needs after export.
  • This feature supports multiple output formats (Excel, CSV, HTML, PDF), which makes it suitable for distributing reports, sharing summary data online, or submitting archival records in standard formats.
  • If you select "Open the file after export" in the dialog, the newly created file opens automatically for quick review or further editing. To learn more about this function and see advanced examples, visit Export Range to File.

Save selections as individual Excel files with VBA Macro

If you frequently need to export different ranges or wish to automate the saving process, a VBA Macro provides a flexible way to handle selections efficiently. Macros are particularly advantageous for batch processing or when repeating the same export operation many times. 

Here's how you can use a VBA Macro to save any selection as a new Excel file:

1. Press "ALT + F11" to open the "Microsoft Visual Basic for Applications" (VBA) editor window.

2. In the VBA window, click "Insert" > "Module" to create a new code module, then paste the following code into the Module window:

VBA: export range to Excel file

Sub ExportRangetoExcel()
'Updateby Extendoffice
Dim wb As Workbook
Dim saveFile As String
Dim WorkRng As Range
Dim address As String
Dim defult As Integer
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.address, Type:=8)
Application.ScreenUpdating = False
Application.DisplayAlerts = False
defult = Application.SheetsInNewWorkbook
Application.SheetsInNewWorkbook = 1
Set wb = Application.Workbooks.Add
Application.SheetsInNewWorkbook = defult
WorkRng.Copy
wb.Worksheets(1).Paste
address = Replace(WorkRng.address, ":", "-")
address = Replace(address, "$", "")
address = Replace(address, ".", "")
saveFile = Application.GetSaveAsFilename(InitialFileName:=address, fileFilter:="Excel Workbooks (*.xlsx),*.xlsx")
wb.SaveAs Filename:=saveFile
wb.Close
Application.CutCopyMode = False
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub

3. Press the F5 key or click the Run button to execute the macro. A prompt will appear asking you to specify the range you want to export.
Run button

4. Click OK in the dialog, then select the folder where you wish to save the exported file. Enter a file name in the "Save As" dialog box.
vba code to specify the file name and location

5. When ready, click the "Save" button. The range you selected will be saved immediately as a new Excel workbook—ideal for automating repeated exports, reducing manual labor, and minimizing errors.


Conclusion

Saving specific selections as individual Excel files is a useful technique for organizing, sharing, or archiving targeted data. Whether you're working with a small range or managing multiple exports, Excel offers several flexible methods to get the job done:

  • Copying and pasting into a new workbook is quick and easy for one-time tasks.
  • Kutools for Excel provides a fast and user-friendly solution for saving selections with just a few clicks—ideal for frequent use.
  • VBA macros are perfect for automating the process when you need to handle many ranges or repeat the task regularly.

Choose the method that best fits your workflow, and you’ll save time while keeping your data clean and well-structured. If you're interested in exploring more Excel tips and tricks, our website offers thousands of tutorials to help you master Excel.


Related Articles

Best Office Productivity Tools

🤖Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |  Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |  Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!

All Kutools add-ins. One installer

Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.

ExcelWordOutlookTabsPowerPoint
  • All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
  • One installer, one license — set up in minutes (MSI-ready)
  • Works better together — streamlined productivity across Office apps
  • 30-day full-featured trial — no registration, no credit card
  • Best value — save vs buying individual add-in