Working with Macros: MS Word
by Carol Bratt on February, 22 2007 at 08:02AM EST
In my last article I told you how to Delete a Macro and how to Edit a Macro. In this article, as promised, I will show you how to rename a macro and copy a macro.
To rename a macro, follow the steps below:
- Choose Tools | Macro | Macros.
- Select the macro you would like to rename.
- Choose Edit. This opens the Visual Basic editor.
- When the Visual Basic editor pens, change the name of the macro to what you would rather it be.
- Close the window.
It's really pretty simple to do isn't it?
To copy a macro, follow these steps:
- Access the Macros dialog box by choosing Tools | Macro | Macros.
- Select the macro and choose Edit.
- Scroll through the programming in the Visual Basic editor. If you have several macros, they will be listed in order, divided by a horizontal line. When you see the macro you want to copy, select the entire macro from Sub to End Sub.
- Copy and paste it below the original.
- Rename the macro and edit it. When you are finished, close the Visual Basic editor window. ALT + Q will close the VBA window.
The name of the newly copied macro will appear in the Macros dialog box.
Next time, we will learn how to create a button on the toolbar for our macro!
(c) Carol Bratt, all rights reserved. Used with permission. Duplication is forbidden without express consent of author. Visit Carol's web site to learn more tips like this one!
Filed under:
| Tags:
Rate this article:
Need Help? Ask!

My name is Dennis Faas and I am a senior systems administrator and IT technical analyst specializing in cyber crimes (sextortion / blackmail / tech support scams) with over 30 years experience; I also run this website! If you need technical assistance , I can help. Click here to email me now; optionally, you can review my resume here. You can also read how I can fix your computer over the Internet (also includes user reviews).

My name is Dennis Faas and I am a senior systems administrator and IT technical analyst specializing in cyber crimes (sextortion / blackmail / tech support scams) with over 30 years experience; I also run this website! If you need technical assistance , I can help. Click here to email me now; optionally, you can review my resume here. You can also read how I can fix your computer over the Internet (also includes user reviews).
We are BBB Accredited
We are BBB accredited (A+ rating), celebrating 21 years of excellence! Click to view our rating on the BBB.

