Handle on activeshape 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
 
B

Brian Reilly, MS MVP

Hari,

This works for me as is in PPT with the selected shape.

With ActiveWindow.Selection.ShapeRange
.Top = 10
.Left = 10
End With

You can just wrap it inside of the a with oPPTApp1.activepresentation
nest.

Brian Reilly, MVP
 
H

Hari Prasadh

Hi Steve,

Thnx for the solution

(am always in normal view only. Am just updating the data in my PPT's and
not running code while in slide show mode etc.)

Thanks a lot,
Hari
India
 

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