Rename a Module

G

Guest

Hi all together,

Have I to worry about two (or more) modules that are called the same?
Because I always have to use the given names like "Module1", "Module2",
etc. and therefore it could happens that two (or more) documents are
opend where both includes a "Module1"-Module.

Or is there (2nd) a possibility renaming a module?

Regards,
Nachtigall
 
J

Jay Freedman

Hi all together,

Have I to worry about two (or more) modules that are called the same?
Because I always have to use the given names like "Module1", "Module2",
etc. and therefore it could happens that two (or more) documents are
opend where both includes a "Module1"-Module.

Or is there (2nd) a possibility renaming a module?

Regards,
Nachtigall

Select the module in the Project pane of the VBA editor. Display the
Properties pane (keyboard shortcut is F4). You can change the module's
name there. It's a good idea to rename every module to something
descriptive.

OTOH, it's a Really Bad Idea (tm) to have modules in documents unless
it can't be avoided. Put the modules in templates, either global
templates or ones used to base new documents (see
http://www.word.mvps.org/FAQs/Customization/WhatTemplatesStore.htm).
 

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