Please Note: This article is written for users of the following Microsoft Word versions: 2007 and 2010. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Controlling Names of Backup Files.
by Allen Wyatt
(last updated September 18, 2017)
If you choose the option to "always create backup copy" (Word Options dialog box | Advanced | Save area) Word names the resulting backup file like this: "Backup of Accounting Policies.wbk", where the original file was called "Accounting Policies.docx". You may wonder if there is a way to place backups in a different folder, use a different filename extension, or avoid pre-pending the "Backup of" wording at the beginning of the filename.
Some of these things can be changed in Word; others cannot. If you want to change the filename extension for backups, you can theoretically make changes in the Windows Registry. This was easy to do in the menu-based versions of Word (pre-Word 2007), but exactly how it is done in the ribbon-based versions of Word is not as clear.
You cannot change the pre-pending of the "Backup of" wording, and you cannot change the location of the backup files (they are placed in the same directory as the file being backed up). As has been detailed in other issues of WordTips, you can work around both of these issues by simply creating a macro that always saves a second copy of your document every time you save.
Sub FileSave() Dim docName As Boolean Dim templateFullName As String docName = ActiveDocument.name Like "Document#*" templateFullName = ActiveDocument.FullName If docName = True Then Dialogs(wdDialogFileSaveAs).Show Else ActiveDocument.SaveAs FileName:="C:\Backups\" _ & ActiveDocument.name, AddToRecentFiles:=False ActiveDocument.SaveAs FileName:=templateFullName End If End Sub
This macro is meant to be a replacement for the Save command. It saves a copy of the document in the C:\backups\ folder, as well as saving in the current location. The file name for the backup is the same as the original; it does not use the .wbk filename extension.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (11760) applies to Microsoft Word 2007 and 2010. You can find a version of this tip for the older menu interface of Word here: Controlling Names of Backup Files.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
After merging the information from a data source into a document, you may decide that you only want to open the merge ...Discover More
Your macro may need to know if a particular file exists. This is easy to figure out using the Dir command, and even ...Discover More
When you are using Word, it normally saves temporary AutoRecover files that reflect the latest state of your document. If ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.