From: G Teachman on
When creating a macro I don't always give it a descriptive name. I would
like to know how to rename the macro.

THanks,
--
G Teachman
Soil Scientist
From: Jay Freedman on
Press Alt+F8 to open the Macros dialog. Select the macro you want, and click
the Edit button to open the macro editor. The first line of the macro
contains its name, between the keyword "Sub" and a pair of parentheses.
Change the name there, and then click the Save button.

For example, to rename Macro1 as MyFirstMacro, change the line

Sub Macro1()

to

Sub MyFirstMacro()

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

G Teachman wrote:
> When creating a macro I don't always give it a descriptive name. I
> would like to know how to rename the macro.
>
> THanks,


From: Fumei2 via OfficeKB.com on
Just be aware that if you had assigned a keyboard shortcut to a procedure
(macro) - say Alt-6 for Macro1 - that shortcut will NOT be carried over to
the renamed procedure. You would have to manually reassign the shortcut key.

Jay Freedman wrote:
>Press Alt+F8 to open the Macros dialog. Select the macro you want, and click
>the Edit button to open the macro editor. The first line of the macro
>contains its name, between the keyword "Sub" and a pair of parentheses.
>Change the name there, and then click the Save button.
>
>For example, to rename Macro1 as MyFirstMacro, change the line
>
>Sub Macro1()
>
>to
>
>Sub MyFirstMacro()
>
>> When creating a macro I don't always give it a descriptive name. I
>> would like to know how to rename the macro.
>>
>> THanks,

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-programming/201001/1