Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2018, 03:57 PM
jeffreybrown jeffreybrown is offline Copy slide title to all slides Windows Vista Copy slide title to all slides Office 2007
Expert
Copy slide title to all slides
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default Copy slide title to all slides

I've tried a search on-line for how to copy the title from slide 2 and paste that title to all other slides (minus the first slide), but can't seem to find the right VBA routine.



Any thoughts?
Reply With Quote
  #2  
Old 01-11-2018, 03:26 AM
JohnWilson JohnWilson is offline Copy slide title to all slides Windows 7 64bit Copy slide title to all slides Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,913
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

You probably need to explain more fully but see if this works

Code:
Sub make_Titles()

Dim L As Long
For L = 2 To ActivePresentation.Slides.Count
If ActivePresentation.Slides(L).Shapes.HasTitle Then
ActivePresentation.Slides(L).Shapes.Title.TextFrame.TextRange = ActivePresentation.Slides(2).Shapes.Title.TextFrame.TextRange
End If
Next
End Sub
Reply With Quote
  #3  
Old 01-11-2018, 05:38 AM
jeffreybrown jeffreybrown is offline Copy slide title to all slides Windows Vista Copy slide title to all slides Office 2007
Expert
Copy slide title to all slides
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Thanks John. This looks perfect and I'll give it a go today at work.
Reply With Quote
  #4  
Old 01-11-2018, 06:03 AM
JohnWilson JohnWilson is offline Copy slide title to all slides Windows 7 64bit Copy slide title to all slides Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,913
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

Make sure slide 2 HAS a title!
Reply With Quote
  #5  
Old 01-11-2018, 06:44 PM
jeffreybrown jeffreybrown is offline Copy slide title to all slides Windows Vista Copy slide title to all slides Office 2007
Expert
Copy slide title to all slides
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

After testing, this worked out well. Thanks again.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy slide title to all slides Need macro to copy object on slide 4 to current slide djlee PowerPoint 2 02-11-2015 10:37 AM
Same slide title for all slides viki2000 PowerPoint 1 12-30-2013 03:14 AM
Add a slide title next to the slide numbers? thecaller PowerPoint 3 11-06-2013 11:17 AM
Master Title Slide -- HELP! Piupiu PowerPoint 0 09-15-2012 09:21 PM
Copy slide title to all slides slide image wont copy with text to new slide lewis.mulhollen PowerPoint 1 12-17-2011 03:17 AM

Other Forums: Access Forums

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


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