ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Handle on active shape and slide (https://www.excelbanter.com/charts-charting-excel/36669-handle-active-shape-slide.html)

Hari Prasadh

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



Hari Prasadh

Hi,

Sorry, posted in the wrong group

Thanks a lot,
Hari
India

"Hari Prasadh" wrote in message
...
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




Jon Peltier

Hari -

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

oPPTApp1.ActivePresentation.Slides(1).Selection.Sh aperange

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





All times are GMT +1. The time now is 07:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com