Renaming VBA module

A

Avner Mediouni

Can someone tell me how to rename a VBA module?

Thanks
Avner Mediouni
R&D Physicist
email: (e-mail address removed)
 
V

Virginia Morris

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.
 
J

jason

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
 

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

Similar Threads

SUMIF 3
Using Solver within Macro 1
color function 5
File saving 1
Equation editor font 2
ComboBox 1
Copying a UDF from an Add-In module to a workbook. 3
Rename Modules 1

Top