ARCHIVED: In Microsoft Word, how do I save the macros I have created?
All macros in Microsoft Word are associated with templates. To save
the macros, you must save the template file. The macros you normally
create and use are stored in the normal.dot
template (in
Office 2007, it may be called normal.dotm
),
since this is the template Microsoft uses by default to create new
documents. This file is located in one of the following:
- Windows Vista:
C:\Users\<username>\AppData\Roaming\Microsoft\Templates
- Windows XP:
C:\ProgramFiles\Microsoft Office\Templates
- In Mac OS X, this file may appear in different locations
depending on operating system or Office version, but is generally located
in one of two different locations:
Hard drive\users\"user"\documents\microsoft user data\
Hard drive\users\"user"\library\application support\microsoft\office\user templates
Note: In Mac OS X, the file may be named just
normal
. - In Mac OS, this file is located in the
Templates
folder, which is inside theMicrosoft Office
folder.
However, if you have used or created any other templates and also
created macros while within these templates, your macros will be
associated with only those templates. For example, if you create a new
template called email.dot
and then create a macro within
the template called sort
, you won't be able to use
sort
unless you are working in a document created by
email.dot
.
This is document ahdr in the Knowledge Base.
Last modified on 2018-01-18 12:29:44.