Simplest way I know is:
Sub RestoreNotesMaster()
' If you try to add a placeholder that's already there
' PowerPoint will throw an error. Tell it to ignore errors:
On Error Resume Next
With ActivePresentation.NotesMaster.Shapes
' Body text
.AddPlaceholder (ppPlaceholderBody)
' Slide image (on notes master, it's the Title placeholder)
.AddPlaceholder (ppPlaceholderTitle)
' etc
End With
End Sub
> I want to create a macro that checks the notes master for existing
> placeholders and adds only those placeholders (of the six available) that do
[quoted text clipped - 16 lines]
> like this before and can point me to an example. If not, then a hint as to
> how to approach this would help too.
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
caten - 07 Aug 2006 15:40 GMT
Ah-ha! The key piece of information I was missing was that PowerPoint WON'T
add a placeholder to the NotesMaster if that placeholder is already
represented on the NotesMaster. Thank you for clarifying.
> Simplest way I know is:
>
[quoted text clipped - 39 lines]
> PPTools: www.pptools.com
> ================================================
Steve Rindsberg - 07 Aug 2006 21:29 GMT
> Ah-ha! The key piece of information I was missing was that PowerPoint WON'T
> add a placeholder to the NotesMaster if that placeholder is already
> represented on the NotesMaster. Thank you for clarifying.
No problem. The same is true of most other placeholders on slides, masters, etc.
by the way.
> > Simplest way I know is:
> >
[quoted text clipped - 39 lines]
> > PPTools: www.pptools.com
> > ================================================
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================