I have hidden slides in my presentation, but the problem is that when I generate the PDF or I use the presentation mode of the PowerPoint, it enumerates the hidden slides and then, for instance, you jump from slide 37 to slide 39.

Is it possible to remove automatically the enumeration of hidden slides?


4 Answers 4


You'd need to create the slide numbers yourself (or by using a bit of VBA) rather than using PowerPoint's own slide numbering.


As Steve Rindsberg said, you may use such a VBA macro as found here: VBA : Number the slide if they are visible

The necessary steps for me were

  • saving the presentation in with-macros-format (as a file with dot-pptm ending)
  • pressing Alt + F11 (or on mac hit menu ToolsMacrosVisual Basic Editor)
  • entering the code from aforementioned Stack Overflow answer
  • pressing either F5 or the green run arrow

You can also create a custom Slide Show. Which will allow you to pick and choose which slides (from your existing presentation) you would like to use. Then from this new presentation you can create your pdf.

  • You can create a predetermined range of slides to print/save as PDF by creating a custom show, or you can enter the page numbers of the pages you want to print in the print dialog, but they'll STILL be numbered as though you're printing all of the slides, so this doesn't really solve CGGs problem. May 27, 2017 at 17:23

You can simply create a new section (Home- section) and put your hidden slides there. Then numbering will not include your hidden slides.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .