Renaming VBA module

  • Thread starter Thread starter Avner Mediouni
  • Start date Start date
A

Avner Mediouni

Can someone tell me how to rename a VBA module?

Thanks
Avner Mediouni
R&D Physicist
email: (e-mail address removed)
 
If you open the module in Edit mode, the left-hand part of the window will
list the open projects. If you click on the module that you want to rename
(for example, Module 2), you will see the line (Name) Module 2 in the
property window below. Just click on the name that you wish to change &
type in the new name. Pressing "Enter" or clicking somewhere else will
change the name of the module.
 
How many ways to skin a cat!
Whilsy in the VB Editor I press F4 and the properties window appears
(if it wasn't already visible) next to "(Name)" I just overwrite the
default name (e.g module 1) usually I'll leave a prefix of 'mod' when
naming a module.

Jason
 
Back
Top