Word 2007 & Later Key Data File Locations
On a PC, Word usually stores various key files in the locations indicated below.
If you paste the filepaths into Windows Explorer's Address Bar, it should find them regardless of what your username is. Windows is smart enough to understand what you mean. You ordinarily won't find these folders because they're hidden.
AutoCorrect Entries [formatted]
Formatted entries are stored in the Normal template
AutoCorrect Entries [unformatted]
C:\Users\%Username%\AppData\Roaming\Microsoft\Docu ment Building Blocks\1033\
under that you may find another numbered folder (eg 14), containing files named 'Building Blocks.dotx' and/or 'Built-In Building Blocks.dotx'
Building Blocks can also be stored in a document template or global template
(exclusions also saved here)
Macros and keyboard shortcuts
Document or template
Quick Access Toolbar
Also may be saved in a document template or document but cannot be displayed from a global template loaded other than the Normal template
Quick Style Sets
C:\Users\%Username%\AppData\Roaming\Microsoft\Quic k Styles\*.dotx
(if modified and saved with same name as built-in Quick Style set, will also be saved here) Active Quick Style set is specified in the parent document template when the document is created
Smart Art Graphics
C:\Users\%Username%\AppData\Roaming\Microsoft\Temp lates\LiveContent\User\SmartArt Graphics\
Themes: Document; Fonts; Effects; Colours
C:\Users\%Username%\AppData\Roaming\Microsoft\Temp lates\LiveContent\User\Document Themes\
*.thmx ...\Theme Fonts\
*.xml, ...\Theme Effects\
*.xml, ...\Theme Colors\
*.xml for customized fonts, effects and colours
Active document theme is specified in the parent document template when the document is created
File names end in .dot, .dotx or .dotm
[MS MVP - Word]
They can be difficult to back up manually. See the tools available at AutoCorrect2007.zip which is the AutoCorrect backup/restore template from the Word MVP FAQ, updated for use with Word 2007 and Word 2010. Another available tool with a gentler user interface is on Greg Maxey's site at AutoCorrect Utility Manager.
Building Blocks can be stored in any template. If the template is stored in the Document Building Blocks folder (above) the building blocks will be available in all Word documents. These templates will not show up in the template Add-Ins list, though. They will be available as storage locations for new building blocks. They can also be made global by storing them in the Word Startup Folder or the Office Startup Folder. If they are in a Startup folder they can hold other customizations as global templates and will show up in the Add-Ins list. Where can Building Blocks be stored?
AutoText is a type of Building Block but must be stored in Normal.dotm or in the attached template for AutoComplete (a/k/a tooltips) to work in Word 2010. (AutoComplete does not work in Word 2007; in Word 2013 and later AutoComplete will work with AutoText stored in any template that is attached or loaded.) AutoText has been available since Word 97 at least.
Custom label setups are stored in the folder %appdata%\Microsoft\Office in a file named pg_custom.xml. You can give this file to other users; they should store it in %appdata%\Microsoft\Office too. (Thank you HansV.)
QAT changes through the interface can also be stored in any document or template. If the template is a global template, the QAT changes will be available in all Word documents and templates. Otherwise, QAT changes stored in a template are available in any document attached to the template. Those stored in a document are available only in the document.
If changes are made to the QAT using XML rather than using the Word Interface, they also can be stored in any xml document or template. Generally these will need to be macro-enabled. See RibbonX: Customizing the Office 2007 Ribbon - by Robert Martin, Ken Puls, and Theresa Hennig Doing this gives more options for icons than those available through the interface.
To get the location of your user templates folder as determined by Word type (or paste) the following line into the Immediate Window and press Enter.
debug.print application.options.DefaultFilePath(wdUserTemplate sPath)
Startup Folder and Workgroup Templates Folder
See Startup Folder for an explanation of what this folder is and how to find its location. One way to find it is in the Immediate Window of the vba Editor type the following and press Enter.
Note, there may also be an OFFICE startup folder which will load into Word. The following are locations for that folder in Word 2007- 2016 with a 64-bit operating system and a 32-bit Office installation:
Word 2007: C:\Program Files (x86)\Microsoft Office\Office12
Word 2010: C:\Program Files (x86)\Microsoft Office\Office14
Word 2013: C:\Program Files (x86)\Microsoft Office\Office15
Word 2016: C:\Program Files (x86)\Microsoft Office\Office16
With a 32-bit operating system they would be:
Word 2007: C:\Program Files\Microsoft Office\Office12
Word 2010: C:\Program Files\Microsoft Office\Office14
Word 2013: C:\Program Files\Microsoft Office\Office15 *
Word 2016: C:\Program Files\Microsoft Office\Office16 *
** I do not know that Office 2013 or higher can be installed on a 32-bit operating system.
(64-bit installations of Office use the same folders as shown above for 32-bit operating systems.)
Workgroup Templates do not have a default filepath. This needs to be set in the Word Options for File Locations and should not be the same folder as the user templates folder. Once set, their location can be determined through those Options or by using the following statement in the vba Editor Immediate Window and pressing Enter:
The registry stores numerous settings. I don't pretend to know what they are about.
See What exactly does the Data Key in the Registry Store?
The Status Bar is stored in the registry. Here is the location for Word 2010.
Last edited by Charles Kenyon; 04-04-2017 at 04:36 AM. Reason: (2014) Update information on building blocks and QAT and include information on Word 2016 (2015: Registry & Status Bar info)
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to import multiple text file data into word||mizankabir||Word VBA||5||06-05-2015 05:45 AM|
|Trusted Locations in Word 2010 - inconsistent application - add-ins - templates||Charles Kenyon||Word||1||04-17-2012 03:26 AM|
|Outlook 2007: "The drive that contains your data file is out of disk space....."||CLAWS||Outlook||1||12-18-2011 11:54 PM|
|How to copy automatically data from Excel file to Word file?||fuchsd||Word||6||10-25-2011 05:52 AM|
|Preventing word/excel from trying to open external template locations||Perhill||Office||0||03-02-2011 04:44 AM|