Consulting

Results 1 to 3 of 3

Thread: How to Rename a VBA Module

  1. #1

    Question How to Rename a VBA Module

    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?

  2. #2
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    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!

  3. #3
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •