Microsoft KB Archive/234169

= PPT: Sample Code to Delete Speakers Notes From Presentation =

Article ID: 234169

Article Last Modified on 10/11/2006

-

APPLIES TO


 * Microsoft PowerPoint 97 Standard Edition
 * Microsoft PowerPoint 98 for Macintosh

-



This article was previously published under Q234169





SUMMARY
This article provides a sample Microsoft Visual Basic for Applications macro (Sub procedure) that can be used to delete speakers notes from a presentation.



MORE INFORMATION
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

Sample Visual Basic Procedure
Sub DelNotes On Error Resume Next

Dim sld as Slide

For Each sld in ActivePresentation.Slides

sld.NotesPage.Shapes.Placeholders(2).Delete

Next sld End Sub

Additional query words: ppt ppt97 97 ppt8 8.0 powerpnt delete remove hide change

Keywords: kbcode kbhowto kbinfo kbprogramming KB234169

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.