Handle on active shape and slide

H

Hari Prasadh

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
 
J

Jon Peltier

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/
_______
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top