Consulting

Results 1 to 7 of 7

Thread: Solved: Rename "Microsoft Excel Objects"

  1. #1
    VBAX Regular
    Joined
    Jun 2010
    Posts
    27
    Location

    Solved: Rename "Microsoft Excel Objects"

    Say I have 3 Excel sheets, I re-named them: Uno, Dos, Tres by right clicking on each tab, selecting "Rename," and naming them.

    When I go to VBA, there is a list on the left that will show all 3 of these sheets under a folder called "Microsoft Excel Objects." It will say
    Sheet1 (Uno)
    Sheet2 (Dos)
    Sheet3(Tres)

    How do I change the objects to say:
    Uno (Uno)
    Dos (Dos)
    Tres (Tres)

    I know this is super easy, but I have searched and can't find how to do this. Thanks!

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Select that object in the VBIDE, and in the properties window you will see its codename (for that is what it is called) as the (Name) property. You can change it there.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Regular
    Joined
    Jun 2010
    Posts
    27
    Location
    I am in the VBIDE, but I don't see any properties window when I double click on
    Sheet1 (Uno) or
    Sheet2 (Dos) or
    Sheet3(Tres)

    when I double click on them, it just opens the sheet to code.

    How do I make the properties window show up? Thank you for the help.

  4. #4
    VBAX Regular
    Joined
    Jun 2010
    Posts
    27
    Location
    I'm using Excel 2003, btw.

  5. #5
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    I didn't say double-click it, I said select it.

    Also, make sure the properties window is open, F4.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  6. #6
    Knowledge Base Approver VBAX Guru GTO's Avatar
    Joined
    Sep 2008
    Posts
    3,368
    Location
    In VBIDE, from the menu bar, View|Properties Window

  7. #7
    VBAX Regular
    Joined
    Jun 2010
    Posts
    27
    Location
    There it is! Thank you so much for the help!

Posting Permissions

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