add duplicate page numbers to notes pages
I have a unique situation I think can only be solved with VBA code, but I'm just learning and I haven't been able to figure it out. :(
I need to be able to add a page number to the notes page view of a slide, and then add the same page number to the next notes page, but with the letters FG preceding the number. The end result would look like this:
Slide 1 = Notes page 1
Slide 2 = Notes page FG1
Slide 3 = Notes page 2
Slide 4 = Notes page FG2
(This is for training material where each page in the student guide has a corresponding facilitator guide page. I know PPT isn't the best application for this type of thing, but unfortunately, it's not my choice.)
Anyway, is it possible to do this with VBA? I would greatly appreciate any advice!
add duplicate page numbers to notes pages
Thanks for the quick reply! I tried the code you suggested, but it didn't seem to do anything. I'll play with it and see if I can figure out what I'm missing. Thanks for getting me started!
Quote:
Originally Posted by
John Wilson
Try this then:
Code:
Sub notepage()
Dim osld As Slide
Dim oNum As Shape
Dim x As Long
For Each osld In ActivePresentation.Slides
For Each oNum In osld.NotesPage.Shapes
If oNum.Type = msoPlaceholder Then
If oNum.PlaceholderFormat.Type = ppPlaceholderSlideNumber Then
If osld.SlideIndex / 2 = osld.SlideIndex \ 2 Then 'it's even do not increment
oNum.TextFrame2.TextRange = "FG" & CStr(x)
Else ' it's odd
'increment number
x = x + 1
oNum.TextFrame2.TextRange = CStr(x)
End If
End If
End If
Next oNum
Next osld
End Sub