Results 1 to 5 of 5
  1. #1
    Lounger
    Join Date
    Feb 2009
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In excel I click on an object and its name shows in the name box - is there any such thing in powerpoint.
    How do I know the name of an object in powerpoint (so I can act upon it in my macro)?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    [quote name='santford' post='764631' date='10-Mar-2009 17:11']In excel I click on an object and its name shows in the name box - is there any such thing in powerpoint.
    How do I know the name of an object in powerpoint (so I can act upon it in my macro)?[/quote]
    Select an object.
    Press Alt+F11 to activate the Visual Basic Editor.
    Press Ctrl+G to activate the Immediate window.
    Type (or copy/paste)

    ? ActiveWindow.Selection.ShapeRange.Name

    Press Enter.

  3. #3
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,571
    Thanks
    5
    Thanked 1,056 Times in 925 Posts
    [quote name='santford' post='764631' date='10-Mar-2009 11:11'][/quote]

    In PPT 2007 you can turn on the Selection Pane which shows you a hierarchical view of the slide and will highlight the name of the selected object.

    Joe
    Joe

  4. #4
    Lounger
    Join Date
    Feb 2009
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It worked, and I discovered immediate window. Thanks.

  5. #5
    Lounger
    Join Date
    Feb 2009
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Selection pane is much easier, thanks again.

Posting Permissions

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