Can you create a new slide with the title from the previous?
-
- 4StarLounger
- Posts: 437
- Joined: 05 Nov 2012, 20:02
Can you create a new slide with the title from the previous?
Can you create a new slide with the title from the previous one? When you are continuing on the same topic, you often want the new slide to have the same title as the previous. (When the body text is overflowing, you can easily achieve this by clicking the "resize" button and choosing "continue on a new slide." I want to emulate that option even when the body text is not overflowing.)
-
- Administrator
- Posts: 78545
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Can you create a new slide with the title from the previ
I'd copy the current slide in the navigation pane and paste it:
- Select the slide in the navigation pane.
- Press Ctrl+C.
- Press Ctrl+V.
Then clear the contents of the text placeholder(s) in the new slide.
- Select the slide in the navigation pane.
- Press Ctrl+C.
- Press Ctrl+V.
Then clear the contents of the text placeholder(s) in the new slide.
Best wishes,
Hans
Hans
-
- 4StarLounger
- Posts: 437
- Joined: 05 Nov 2012, 20:02
Re: Can you create a new slide with the title from the previ
Yes, that's exactly what I've been doing. I take that there is no quicker way of doing it?HansV wrote:I'd copy the current slide in the navigation pane and paste it:
- Select the slide in the navigation pane.
- Press Ctrl+C.
- Press Ctrl+V.
Then clear the contents of the text placeholder(s) in the new slide.
-
- Administrator
- Posts: 78545
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Can you create a new slide with the title from the previ
A slightly faster method of copying a slide: on the Home or Insert tab of the ribbon, click New Slide > Duplicate Selected Slides.
It is probably possible to create a macro to duplicate the slide and to clear the placeholders (except for the title), but I don't know enough about PowerPoint VBA.
It is probably possible to create a macro to duplicate the slide and to clear the placeholders (except for the title), but I don't know enough about PowerPoint VBA.
Best wishes,
Hans
Hans
-
- gamma jay
- Posts: 25455
- Joined: 17 Mar 2010, 17:33
- Location: Cape Town
Re: Can you create a new slide with the title from the previ
So close, but so far
I set up code to duplicate the current slide and clear the placeholders, but just dunno how to exclude the Title placeholder?
I set up code to duplicate the current slide and clear the placeholders, but just dunno how to exclude the Title placeholder?
Code: Select all
Sub DuplicateOnlyTitle()
Dim sld As Slide
Dim shp As Shape
Set sld = Application.ActiveWindow.View.Slide
sld.Duplicate
For Each shp In sld.Shapes
With shp
If .Type = msoPlaceholder Then 'And Not sld.Shapes.Title Then
.TextFrame.TextRange.Text = ""
End If
End With
Next
End Sub
Regards,
Rudi
If your absence does not affect them, your presence didn't matter.
Rudi
If your absence does not affect them, your presence didn't matter.
-
- Administrator
- Posts: 78545
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Can you create a new slide with the title from the previ
Nice! This should do it, I hope:
Code: Select all
Sub DuplicateOnlyTitle()
Dim sld As Slide
Dim shp As Shape
Set sld = Application.ActiveWindow.View.Slide
sld.Duplicate
For Each shp In ActiveWindow.Selection.SlideRange.Shapes
With shp
If .Type = msoPlaceholder And Not .Name Like "Title*" Then
.TextFrame.TextRange.Text = ""
End If
End With
Next shp
End Sub
Best wishes,
Hans
Hans
-
- gamma jay
- Posts: 25455
- Joined: 17 Mar 2010, 17:33
- Location: Cape Town
Re: Can you create a new slide with the title from the previ
Yep...TX. That little condition was frustrating me!
VBA in PPT does not make sense!!!
I changed
For Each shp In ActiveWindow.Selection.SlideRange.Shapes
to
For Each shp In sld.Shapes
and the only other issue (IMHO) is that the source slides placeholders are cleared instead of the duplicated slides placeholders.
Other than that...its something to work with if New Daddy sees fit.
VBA in PPT does not make sense!!!
I changed
For Each shp In ActiveWindow.Selection.SlideRange.Shapes
to
For Each shp In sld.Shapes
and the only other issue (IMHO) is that the source slides placeholders are cleared instead of the duplicated slides placeholders.
Other than that...its something to work with if New Daddy sees fit.
Regards,
Rudi
If your absence does not affect them, your presence didn't matter.
Rudi
If your absence does not affect them, your presence didn't matter.
-
- Administrator
- Posts: 78545
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Can you create a new slide with the title from the previ
This version selects the duplicated slide and clears its placeholders:
Code: Select all
Sub DuplicateOnlyTitle()
Dim sld As Slide
Dim shp As Shape
Set sld = Application.ActiveWindow.View.Slide
Set sld = sld.Duplicate(1)
sld.Select
For Each shp In sld.Shapes
With shp
If .Type = msoPlaceholder And Not .Name Like "Title*" Then
.TextFrame.TextRange.Text = ""
End If
End With
Next shp
End Sub
Best wishes,
Hans
Hans
-
- gamma jay
- Posts: 25455
- Joined: 17 Mar 2010, 17:33
- Location: Cape Town
Re: Can you create a new slide with the title from the previ
Nice!
Regards,
Rudi
If your absence does not affect them, your presence didn't matter.
Rudi
If your absence does not affect them, your presence didn't matter.
-
- 4StarLounger
- Posts: 504
- Joined: 23 Jul 2010, 18:36
- Location: Westlake, OHIO
Re: Can you create a new slide with the title from the previ
I use 2010 and all I have to do is right click the slide (in the Slides layout on the left) and choose duplicate slide. Yes, I still have to delete the text I don't want but that is a 1 second operation...unless I am missing something from this discussion...
Who will you Inspire today?
-
- Administrator
- Posts: 78545
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Can you create a new slide with the title from the previ
Apparently that isn't quick enough for New Daddy...
Best wishes,
Hans
Hans
-
- 4StarLounger
- Posts: 437
- Joined: 05 Nov 2012, 20:02
Re: Can you create a new slide with the title from the previ
It's not a 1 second operation if you have pictures and drawings.Timelord wrote:I use 2010 and all I have to do is right click the slide (in the Slides layout on the left) and choose duplicate slide. Yes, I still have to delete the text I don't want but that is a 1 second operation...unless I am missing something from this discussion...