Click here to Skip to main content
15,939,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello friend ,i have question about reading ppt file shapes.if user put cursor on one shape in slide i want to read the content in horizontal line.i have able to read one shape value but if there are two shape side by side how can read second shape.
e.g in one slide there is [shape1] [shape2] if user put cursor on shape1 so it can read value of shape1 as well as shape two.
Nelek 15-Apr-12 7:48am    
Do you mean two shapes in the form but don't touching between them? or two shapes that are overlapping?
princexxx 16-Apr-12 0:34am    
yes two shape with no space between them.
Maciej Los 17-Apr-12 13:40pm    
... and the PPT version is? Do you want to read the content of shapes in the slideshow view?

1 solution

Can't you just go trough the collection of shapes in slide?

Set slds = ActivePresentation.Slides(1)
Dim sh as Shape = Nothing

For Each sh in slds.Shapes
    'do some action
Next sh

Shape Object (PP 2007)[^]
Shape Object Members[^]
Share this answer
Sandeep Mewara 5-May-12 5:19am    
5 'ed
Maciej Los 5-May-12 6:02am    
Thank you, Sandeep ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900