Consulting

Results 1 to 6 of 6

Thread: How to identify on-screen objects?

  1. #1
    VBAX Regular
    Joined
    Jun 2012
    Posts
    7
    Location

    How to identify on-screen objects?

    PowerPoint 2003.

    I am writing some simple VBA code that animates on-screen objects (moves them around, sends to back, brings to front etc). It all works well, provided I know the identifier of each object (such as "Group 297", "Text Box 291", "Rectangle 255" etc).

    Problem is, the only way I have found to identify the objects is to record a macro, do something simple with the object, then stop the macro. I can then discover the object's ID from the recorded macro, then use it in my own code. This works, but it becomes very tedious with a large number of objects.

    Is there any other way of discovering the ID of an object? (Back in the mists of PowerPoint 97 I seem to remember they were displayed somewhere, but can't remember the details).

    --
    Ian

  2. #2
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,726
    Location
    In 2010, it's the Selection Pane

    Handy because you can rename the object to something more meaningful

    Paul
    Attached Images Attached Images

  3. #3
    VBAX Regular
    Joined
    Jun 2012
    Posts
    7
    Location
    Quote Originally Posted by Paul_Hossler
    In 2010, it's the Selection Pane
    Paul
    That's a shame, because I am using 2003, and apparently the Selection Pane didn't appear until 2007.

    Ah well, back to the drawing board!

    --
    Ian

  4. #4
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,726
    Location
    sorry, don't have access to a copy of 2003 anymore

    maybe they called it the same thing in 2003, and online help for 'selection pane' might find something

    Paul

  5. #5
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,726
    Location
    did a little googling --


    http://www.pcreview.co.uk/forums/sel...-t3640151.html


    You probably mean the "Select multiple objects" feature which was available
    in PP2000-2003. You get a list of all objects on a slide by name and you can
    easily select/deselect them. But that's all, no renaming etc possible (still
    it was rather useful on many occasions).

    This feature is hidden in the "Drawing" toolbar (click the little arrow on
    the right side of the toolbar and select this feature).

    Luca
    Not sure if this it the same thing

    Paul

  6. #6
    VBAX Regular
    Joined
    Jun 2012
    Posts
    7
    Location
    Paul,

    You pointed me in the right direction, with "Select Multiple Objects". This led to:

    notes.
    indezine.
    com
    slash
    2010
    slash
    11
    slash
    select-multiple-objects-in-powerpoint
    dot
    html

    I can now identify each shape individually. OK, I can't change its name, but this is good enough.

    Thanks for your help.

    --
    Ian

Posting Permissions

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