Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-07-2013, 10:05 AM
excelledsoftware excelledsoftware is offline All Shapes on slide Windows 7 64bit All Shapes on slide Office 2003
IT Specialist
All Shapes on slide
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

Sorry to ask again but is there a way to the msgbox code above without having the presentation open I am trying the following.

Sub getShapeNames()
Dim oshp As Shape
Dim Mylibrary As Presentation


Dim osld As Slide
Dim strReport As String
strReport = "Shapes On Slide" & vbCrLf & "===========" & vbCrLf & vbCrLf
On Error Resume Next
Set Mylibrary = Presentations.Open(Environ("USERPROFILE") & "\My Documents\CustomShapes.ppt", WithWindow:=False)
For Each oshp In Mylibrary.Shapes
strReport = strReport & oshp.Name & vbCrLf
Next oshp
msgbox strReport
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
All Shapes on slide Copy & Paste Shapes & Motion Paths from 1 Slide Size to Another buckaroobanzai PowerPoint 1 06-08-2012 05:32 AM
All Shapes on slide Where did map shapes go? SueK PowerPoint 1 01-20-2011 04:30 AM
All Shapes on slide Find and add new Shapes bonani PowerPoint 1 11-26-2009 06:21 PM
Shapes Will Not Display JoeTx Visio 0 03-13-2008 09:01 AM
My Shapes some appear some don't Jean-Paul Visio 0 03-01-2006 01:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft