Post your code. That makes it easy to edit. PPT 2007 has custom layouts
which need to be referenced in a particular manner.
Understanding Custom Layouts. http://skp.mvps.org/2007/ppt003.htm
Thanks for the interest in this. My code, for what it's worth, is below. I
can't even delete all footers from the Menu bar buttons - the only way is to
scroll through each layout and delete manually.
Sub DeleteFooters()
Dim oSld As Slide, oShp As Shape
On Error Resume Next
For Each oSld In ActivePresentation.Slides
For Each oShp In oSld.Shapes
If oShp.Type = msoPlaceholder Then
If oShp.PlaceholderFormat.Type = ppPlaceholderFooter Then
oShp.Delete
End If
End If
Next oShp
Next oSld
End Sub
Sub DeleteMasterFooter()
Dim oSh As Shape
Dim oSl As Slide
On Error GoTo ErrorHandler
For Each oSh In ActivePresentation.SlideMaster.Shapes
If oSh.Type = msoPlaceholder Then
If oSh.PlaceholderFormat.Type = ppPlaceholderFooter Then
oSh.Delete
End If
End If
Next oSh
Exit Sub
ErrorHandler:
Debug.Print err.Description
End Sub
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.