about renaming of macros

G

Guest

Hello

How can a macro be renamed ?

Note: I have Word 97. In the *Organizer* of macros, my macros aren't listed, instead the name of the GROUP of my macros is listed.

Regards
 
B

Bill Foley

1. Press ALT-F11 to open the Visual Basic Editor
2. Make sure the "Project Explorer" window shows at the top left (if not,
"View" menu).
3. Open the "Module" window until your module (container of code) is
showing.
4. Double-click on it. The code will appear to the right.
5. The first line of each macro has something like - "Sub MyMacro()".
Highlight and rename "MyMacro" to whatever you desire.

Keep in mind that if these macros are being called from other macros, that
too needs to be changed (Can use "Find and replace".

Holler back if this doesn't make sense.

--
Bill Foley, Microsoft MVP (PowerPoint)
Microsoft Office Specialist Master Instructor - XP
www.pttinc.com
Check out PPT FAQs at: http://www.rdpslides.com/pptfaq/


MEHMET KILIÇKAYA said:
Hello

How can a macro be renamed ?

Note: I have Word 97. In the *Organizer* of macros, my macros aren't
listed, instead the name of the GROUP of my macros is listed.
 
C

Charles Kenyon

Cut them from one group and paste them into the other. Use the VBE to do
this as described in Bill Foley's post.
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

MEHMET KILIÇKAYA said:
Thanks

My macros have been under 2 group names which are listed in the Organizer
list. How can I make them under ONE group ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top