Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-15-2014, 08:55 PM
macropod's Avatar
macropod macropod is offline Excel -> PowerPoint multiple presentations - process automation Windows 7 32bit Excel -> PowerPoint multiple presentations - process automation Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You could probably use a macro like the following in your master PowerPoint file, to both update & break the links, then save the updated file:
Code:
Sub Demo()
Dim Sld As Slide, Shp As Shape
With ActivePresentation
  .UpdateLinks
  On Error Resume Next
  For Each Sld In .Slides
    For Each Shp In Sld.Shapes
      With Shp
        .LinkFormat.BreakLink
      End With
    Next
  Next
  On Error GoTo 0
  .SaveAs FileName:=Left(.FullName, InStrRev(.FullName, ".")) & _
    Format(Now, "YYYYMMDD") & ".pptx", Fileformat:=ppSaveAsDefault
End With
End Sub
The above code saves the updated presentation file back to the same folder, with the date appended to the filename in YYYYMMDD format.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
automate



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel -> PowerPoint multiple presentations - process automation PowerPoint 2007 process hangs ChrisK PowerPoint 6 02-03-2012 02:00 PM
Excel -> PowerPoint multiple presentations - process automation I dig music with Powerpoint presentations but ...... jackdashack PowerPoint 1 11-26-2010 11:14 PM
Excel -> PowerPoint multiple presentations - process automation Enhancing PowerPoint Presentations MarkStrobel3367 PowerPoint 1 11-16-2010 08:28 AM
Excel -> PowerPoint multiple presentations - process automation Aaxatech p1 for powerpoint presentations hardcoresoft PowerPoint 3 02-19-2010 11:08 AM
Web Site for PowerPoint Presentations Flexibase PowerPoint 3 02-14-2010 12:32 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:42 PM.


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