Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shape names in PowerPoint

Status
Not open for further replies.

garybug

Programmer
Jul 27, 2003
42
GB
I have imported a chart from Excel into Powerpoint for tweaking the axes etc., but I can't see a way of finding out what names and properties Powerpoint has for each shape, e.g. Line 6, TextBox1 etc, etc.. Is there a pop up toolbar or an equivalent that I can view these in?

Thanks

G
 
Hi,

Here's what I do. Start with a procedure like this and step thru it using a watch window. I pasted an Excel chart on one slide.

Watch the shape object (sh)...
Code:
Sub vvv()
    For Each sl In ActivePresentation.Slides
        For Each sh In sl.Shapes
        
        Next
    Next
End Sub
notice that then sh.Type is msoEmbeddedOLEObject.

Lots more you can discover this way. :)

Skip,
Skip@TheOfficeExperts.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top