Show me the Notes Text
Problem
You want to locate a slide's notes text in a macro.
Solution
This function will return the shape that represents notes text placeholder of a slide or, if there's no placeholder, it returns nothing.
The subroutine below demonstrates how to call the function.
Function NotesTextPlaceholder(oSl As Slide) As Shape Dim osh As Shape For Each osh In oSl.NotesPage.Shapes If osh.Type = msoPlaceholder Then If osh.PlaceholderFormat.Type = ppPlaceholderBody Then ' we found it Set NotesTextPlaceholder = osh Exit Function End If End If Next End Function Sub TestNotesTextPlaceholderFunction() Dim osh As Shape Set osh = NotesTextPlaceholder(ActivePresentation.Slides(1)) If Not osh Is Nothing Then Debug.Print osh.TextFrame.TextRange.Text End If End Sub
See How do I use VBA code in PowerPoint? to learn how to use this example code.