Auto Backup Excel File in Different Location with Top 2 Ways

In this essay, you will find two ways to backup excel file in different location easily in Windows 7, 8, 10. Let's see the step-by-step guide to auto backup excel files.


by Lily Updated on June 4, 2024

Share this: instagram reddit

Excel is used to conduct calculation, research, data visualization in charts, data management, data analytics. It is widely used in work and study. If you do not create a backup of Excel files, accidental deletions or changes to a file can ruin your day.

Backup Excel file in different location with Macro (complicated)

An Excel macro is a set of programming instructions stored in what is known as VBA code. It can be used to eliminate the need to repeat the steps of commonly performed tasks over and over again.

  1. To begin, you need to enable Macro. Open Excel, click File -> Option -> Customize Ribbon -> check the Developer box in the list on the right. Click OK, and you’ll see the developer tab at the end of your tab list.
  2. After enabling Macro, press Alt + F11 keys to open Microsoft Visual Basic for Applications window.
  3. Click Insert -> Module and paste below code to the Module script. See screenshot:
  • Sub SaveToLocations()
  • 'UpdateByExtendoffice20160623
  • ActiveWorkbook.SaveCopyAs "C:\Users\DT168\Documents\" + ActiveWorkbook.Name
  • ActiveWorkbook.SaveCopyAs "C:\Users\DT168\" + ActiveWorkbook.Name
  • ActiveWorkbook.Save
  • End Sub

Tips: in the macro code, you can change the saving paths as you want.

  1. Press F5 key to run the code, and the active workbook has been saved to the locations you specified in the code.

Backup Excel file in different location by AOMEI Backupper (easy)

There is also another easy way to Backup Excel file in different location. AOMEI Backupper Professional is a reliable software designed for your data security. You can use it to backup system, partition, hard drive, files and folder to external hard drive, cloud drive, NAS, CD/DVD, internal hard drive, etc.

You are allowed to backup specific files or folders with File Backup feature, and the Filter settings allow you to backup a certain type of files. The best part is you can schedule an automatic backup based on five modes, Daily, Weekly, Monthly, Event Triggers, USB plug in respectively.

This software is available to Windows system including Windows 11/10/8/7/XP/Visa, and it supports almost all File Systems like NTFS, FAT32, FAT16, EX2, EXT3 and other File Systems.

To backup Excel file, download AOMEI Backupper and this software first. If you are a Windows Server user, please turn to AOMEI Backupper Server. Take USB drive as an example, let’s see how to backup excel files to a flash drive.

Download Free Trial Win 11/10/8.1/8/7/XP
Secure Download

Step 1. Open AOMEI Backupper, at the main interface, click Backup, and select File Backup.

Step 2. At the next window, click Add File or Add Folder.

Add File Or Folder

Step 3. Then it will pop up a new window, just choose Excel file that you want to backup.

If you choose Add Folder, you can click Filter settings, it will show the details for you to set a certain file extension. Type the file extension *.xls in File Inclusion Mask.

Filter Settings

There are also File Exclusion Mask and Folder Exclusion Mask. You can use the two boxes as you want. After all the settings, click OK to go back to the File Backup interface.

Step 4. Select USB drive as the destination path. To prevent data loss from catastrophic events like hard disk failure or system crash, you can backup Excel file in different location from the original one. It is recommended to backup Excel files to external hard drive or backup to NAS.

Select Backup Destination

Step 5. To backup Excel file automatically, click Schedule and choose a backup mode.

Schedule Settings General


① By default, it will perform incremental backup which is space-saving. If you want to create full backup or differential backup, click Advanced at Schedule to change the way to perform the scheduled backup. Differential backup is preferable to incremental backup because incremental backup requires all backups to be complete before a backup can be restored. 

② There are also Options and Scheme that you can click to have more advanced settings.

  • Options: you can encrypt your backups to protect data privacy and enable email notifications by clicking options.

  • Scheme: to make sure your backup drive will not run out of space, you can click Scheme to set auto delete old backups when the number of backup reaches a certain value.

  • To better protect your files, you can also backup your files to AOMEI Cloud. After you sign up for an AOMEI account, it gives you 1TB of free storage space for 15 days. This way, even if your hard drive encounters physical damage or natural disasters, your data will not be lost.

Cloud Backup

Step 6. After all these done, click Start Backup.

If you want to real-time monitor the change and create continuous data protection, you can use the Real-Time Sync feature under Sync.

Bonus: How to create auto backup for Excel file in the same location

  1. Go to File > Save As. For Excel 2016, click "More options…" under the save location. Earlier versions of Excel: skip this.

Auto Create Backup

  1. Click the Tools button then General Options in the Save As dialog window.
  2. Check the box next to "Always create backup". Then click OK.

Always Create Backup

  1. Click Save in the Save dialog window.

Note that the backup copy is saved in the same folder as the original one. If you encounter hard disk failure or virus attack, you may lose the two files simultaneously. Therefore, it is better to backup Excel file in different location. If one copy is lost, at least you have another one to recover it to the previous state.

How to backup Excel file in different location? Two ways are provided above - one is using Macro, the other is using a third party tool – AOMEI Backupper.


Creating an auto backup for Excel file is necessary to protect your files from mistaken deletion or changes. However, if you want to protect your files from disasters like hard disk failure or system crash, you should backup Excel file in different location from the source one.

As mentioned above, AOMEI Backupper supports many storages devices, you can feel free to choose one based on your practical situation. With its help, you can also backup your system with just a few clicks. When something unexpected happens to your computer, you can use this backup to restore it to a working state.

Lily · Editor
Lily Green joined AOMEI in 2018 and has since become a professional in the areas of data protection and data transfer. She is committed to helping users protect their precious computer data and troubleshoot Windows system errors. She consistently stays vigilant about the latest trends in technology, guaranteeing that the given information aligned with the ongoing advancements in the field.