Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-05-2013, 06:40 AM
JohnWilson JohnWilson is offline Generating text output from PowerPoint picture/name slides Windows 7 64bit Generating text output from PowerPoint picture/name slides Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,914
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

See if this gets you close:

Sub getList()
Dim osld As Slide
Dim oshp As Shape
Dim iFile As Integer
Dim tempPath As String
Dim strReport As String
iFile = FreeFile
tempPath = Environ("TEMP") & "\tempTxt.txt"
For Each osld In ActivePresentation.Slides
For Each oshp In osld.Shapes
If oshp.Type = msoGroup Then
If oshp.GroupItems(1).Type = msoPicture Then
strReport = strReport & "On Slide " & osld.SlideIndex & ": Image name = " & oshp.GroupItems(2).TextFrame.TextRange & vbCrLf
End If
End If
Next oshp
Next osld
Open tempPath For Output As iFile
Print #iFile, strReport
Close iFile
Call Shell("NOTEPAD.EXE " & tempPath, vbNormalFocus)
End Sub
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating text output from PowerPoint picture/name slides A list of questions concerning powerpoint output Conference_Tech PowerPoint 1 05-24-2013 02:54 AM
Printing hi res images from powerpoint to pdf output? miriamallen PowerPoint 0 02-29-2012 09:54 AM
Excess slides in powerpoint theremotedr PowerPoint 6 02-22-2012 05:17 AM
Powerpoint automatically changing picture size when adding a picture (2010) One_Life PowerPoint 7 01-20-2012 06:57 AM
Powerpoint 2003 - slides with Excel text franklyorange PowerPoint 0 08-19-2008 09:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:17 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