OK. Try this. The following code will add a shape to the bottom of each
slide (except the last) that contains the text from the first shape of
the next slide. If the shape already has been added, it will just change
the text. You can either run this code whenever you want (hit Alt-F8 and
pick the macro Footerize to run), or you can put a button on your first
slide that has its action settings set to run the Footerize macro. If
you choose the second option, I would suggest putting
ActivePresentation.SlideShowWindow.View.Next
at the end of the macro (right before the End Sub line) so the button
will automatically take you to the next slide.
Here is the code:
Sub Footerize()
Dim i As Long
Dim shp As Shape
Dim hasFooter As Boolean
Dim newFooterBox As Shape
For i = 1 To ActivePresentation.Slides.Count - 1
hasFooter = False
For Each shp In ActivePresentation.Slides(i).Shapes
If shp.Name = "MyVeryOwnFooter" Then
hasFooter = True
End If
Next
If hasFooter = True Then
ActivePresentation.Slides(i).Shapes("MyVeryOwnFooter") _
.TextFrame.TextRange.Text = _
ActivePresentation.Slides(i + 1).Shapes(1) _
.TextFrame.TextRange.Text
Else
Set newFooterBox = _
ActivePresentation.Slides(i).Shapes.AddShape _
(msoTextOrientationHorizontal, 0#, 504#, 720#, 28.875)
newFooterBox.Name = "MyVeryOwnFooter"
newFooterBox.TextFrame.TextRange.Text = _
ActivePresentation.Slides(i + 1).Shapes(1) _
.TextFrame.TextRange.Text
newFooterBox.TextFrame.TextRange.Font.Size = 10
newFooterBox.TextFrame.TextRange.ParagraphFormat.Alignment _
= ppAlignCenter
End If
Next i
End Sub
--
David M. Marcovitz, Ph.D.
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/