PDA

View Full Version : [SOLVED:] How to Rename a VBA Module



Cyberdude
03-20-2005, 01:38 PM
I'm a newbie to the forum, so I hope this is the place to ask this question.
I can't seem to figure out how to rename a VBA module.
Can anyone tell me? :banghead:

Zack Barresse
03-20-2005, 01:42 PM
Hi Cyberdude! Welcome to VBAX!

Here's what you want to do:


Open the Visual Basic Editor (Alt + F11)
Select the module in the Project Explorer (Ctrl + R)
Press F4, to bring up the Properties window
Select the Module1 to the right of the Name property
Type in your desired name for it
Confirm it with the Enter key


Remember, don't use special characters or spaces. Good luck!

Cyberdude
03-21-2005, 11:19 AM
Thanx, firefytr, I followed your instructions and did the deed. Actually, many moons ago I had done that for some other modules, but I just couldn't remember how I did it then. I wrote down the instructions in my private KB this time.:friends: