Renaming a Module

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I was looking at the code in Rob Bovey's VBACodeDocumentor.xla and noticed
Rob had given each Module an individual & distinctive name i.e.MStandardCode,
MEntryPoints etc..
Can this Module renaming/naming be carried out in MS Office XP 2003
Professional?
If so how?

TIA.
--
Thank you

Regards
Aussie Bob C.
Using Windows XP Home + Office 2003 Pro
 
when you are in a module click function key F4 and you get property window.
change the name and hit enter.
 
Thanks Craig
Are there any hidden gotches I should no about. i.e. same name as a
procedure or sheet tab name?

Regards Aussie Bob C.
 
Thanks R. Ve.
Are there any hidden gotches I should no about. i.e same name as a procedure
or sheet tab name?

Regards Aussie Bob C.
 
You will save yourself grief if you use names differ from those of procedures
and sheets.
 
Always wise to have a unique prefix for such objects, such as m for modules,
frm for userforms, cls for classes etc.

Ditto for controls, such as textboxes, buttons.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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

Back
Top