+ Reply to Thread
Results 1 to 3 of 3

Handle on active shape and slide

  1. #1
    Hari Prasadh
    Guest

    Handle on active shape and slide

    Hi,

    How do I get a handle on active shape in PPT (am Coding in Excel)

    I want to use something like

    With oPPTApp1.ActivePresentation.Slides(1).ACTIVESHAPE

    where oPPTApp1 is PPT application and I do have a particular shape in my PPT
    which is active (similar to active sheet / cell in excel)

    Also do we have a code/syntax like Activeslide (I tried
    activepresentation.activeslide but got no intelli prompt)

    Please guide me.

    Thanks a lot,
    Hari
    India



  2. #2
    Hari Prasadh
    Guest

    Re: Handle on active shape and slide

    Hi,

    Sorry, posted in the wrong group

    Thanks a lot,
    Hari
    India

    "Hari Prasadh" <excel_hariNOSPAM@hotSPAREMEmail.com> wrote in message
    news:u60o6YvjFHA.3012@TK2MSFTNGP12.phx.gbl...
    > Hi,
    >
    > How do I get a handle on active shape in PPT (am Coding in Excel)
    >
    > I want to use something like
    >
    > With oPPTApp1.ActivePresentation.Slides(1).ACTIVESHAPE
    >
    > where oPPTApp1 is PPT application and I do have a particular shape in my
    > PPT which is active (similar to active sheet / cell in excel)
    >
    > Also do we have a code/syntax like Activeslide (I tried
    > activepresentation.activeslide but got no intelli prompt)
    >
    > Please guide me.
    >
    > Thanks a lot,
    > Hari
    > India
    >




  3. #3
    Jon Peltier
    Guest

    Re: Handle on active shape and slide

    Hari -

    The PowerPoint object model requires you to access an object something like

    oPPTApp1.ActivePresentation.Slides(1).Selection.Shaperange

    Use the PowerPoint macro recorder to decode the required syntax.

    - Jon
    -------
    Jon Peltier, Microsoft Excel MVP
    Peltier Technical Services
    Tutorials and Custom Solutions
    http://PeltierTech.com/
    _______

    Hari Prasadh wrote:

    > Hi,
    >
    > How do I get a handle on active shape in PPT (am Coding in Excel)
    >
    > I want to use something like
    >
    > With oPPTApp1.ActivePresentation.Slides(1).ACTIVESHAPE
    >
    > where oPPTApp1 is PPT application and I do have a particular shape in my PPT
    > which is active (similar to active sheet / cell in excel)
    >
    > Also do we have a code/syntax like Activeslide (I tried
    > activepresentation.activeslide but got no intelli prompt)
    >
    > Please guide me.
    >
    > Thanks a lot,
    > Hari
    > India
    >
    >



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1