Transferring Macros in Word 2007

Written by:  • Edited by: Tricia Goss
Updated Dec 29, 2009
• Related Guides: Microsoft | Macro | Microsoft Word 2007

Need to transfer a Word 2007 macro from one document to another? Not only is this process useful for sharing macros between individual files, but it also allows you a way to send a select macro to another user.

Document Specific Macros

When creating a macro, you have the option to store it in the global template or in the Word 2007 document in which you are currently working. If you store it in the global template, it will be usable by any document you open in Word. However, if you store a macro in a single document only, you can still transfer that macro to other documents at a later date if needed.

Save Source Document as a Template

In order to transfer macros from one document to another, the source document containing the original macros needs to be saved as a Microsoft Word template. To save a document in this manner, click on the Office button, select Save As, and then choose Word Template. (Click the image below for a larger view.)

Save as Word Template
click to enlarge

With the document stored in this format, you’ll be able to transfer the embedded macros to other Word files.

How to Transfer Macros

Step 1: Open or create the document to which you want to add the pre-existing macros.

Step 2: Open the Developer tab on the Word ribbon, and click on Macros. If you don’t see the Developer tab, refer to Part 1 of this series to find out how to make it visible.

Developer Tab
click to enlarge

Step 3: Click the Organizer button in the Macros window.

Macros Window
click to enlarge

Step 4: Make sure that you are on the Macro Project Items tab in the Organizer window. On the left-hand side of this window, choose the document that you want to copy the macros into from the Macro Project Items available in drop down box if it is not already selected. On the right-hand side of the window, click the Close File button. See the screenshot below for an example of this.

Organizer Window
click to enlarge

Step 5: The Close File button that was clicked in the previous step should now show as an Open File button.

Open File
click to enlarge

Click the Open File button and locate the document template that contains the macros you wish to transfer to the new document.

Transfer Macros
click to enlarge

Step 6: Select each macro that you wish to transfer and click the Copy button.

Copy Macros
click to enlarge

Now, the transferred macros will be present and accessible in the new document. If you want to email or share this macro with another user, make sure you save this new document as a Word template first and then distribute the template file.


Comments

Showing all 8 comments
 
Michele McDonough Sep 18, 2011 6:43 PM
RE: Recreating macros on new computer
So glad that it worked for you - thanks for letting us know!
Terri Sep 18, 2011 6:36 PM
Recreating macros on new computer
Thank you Michele. That actually solved two problems for me!
Michele McDonough Sep 18, 2011 7:31 AM
RE: Transferring Macros to My New Computer
If you use the process here to transfer the macros to a Word document, you can either save that document to a USB stick, upload it to online storage or email it to yourself -- and then transfer to another computer.
Terri Sep 17, 2011 9:25 PM
Transferring Macros to My New Computer
I'd like to find a way to transfer the MS Word macros I created on my old computer to my new computer so that I don't have to recreate them all. Is that possible?
Michele McDonough Aug 16, 2011 12:06 AM
RE: transferring macros to other workers
Hi Stephen,

At what point in the process is the problem occurring? Are you saving as a .dotx (template) file? When opening the .dotx file, are you able to find the macros that were saved?
Stephen Aug 15, 2011 12:50 PM
transfering macro to other workers
This process doesn't work if trying to transfer a macro you desigend to other co workers.
I created the macro as a template then sent it to others and myself on a separate computer with no success. Everyone has the developer ribbon and enable macros in their security.
VIJAY KUMAR Mar 6, 2011 5:39 AM
ABOUT INFORMATION
VERYYYYYYYYYYYYY THANK U
Susie Jul 30, 2009 8:51 AM
macro buttons in word 2007 on QAT not working
Hi,
Have you had a problem assigning a few macro button to the QAT then changing the names saving the template, trying the buttons and the buttons will only work for one macro. Each macro works from the developers tab but then the buttons decide to work for just one macro - each button will only work for the same macro - is this a known glitch. I tried it on a vista machine and now on windows XP.
Recap - A bunch of buttons assigned to a bunch of different macros on the QAT - all macros work and yet the buttons only work for one macro (the same one even though assigned to a different macro) ie. Macro to print in landscape - all buttons now are print to landscape even though they say differently.
please let me know if you have had this happen or if there is a fix for it.
thanks so much
Susie
 
blog comments powered by Disqus
Email to a friend