Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Hari Prasadh
 
Posts: n/a
Default 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   Report Post  
Hari Prasadh
 
Posts: n/a
Default

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



  #3   Report Post  
Jon Peltier
 
Posts: n/a
Default

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"