Supercharge your PowerPoint productivity with
Supercharge your PPT Productivity with PPTools - Click here to learn more.

Proud member of

PPTools

Image Export converts PowerPoint slides to high-quality images.

PPT2HTML exports HTML even from PowerPoint 2010 and 2013, gives you full control of PowerPoint HTML output, helps meet Section 508 accessibility requirements

Merge Excel data into PowerPoint presentations to create certificates, awards presentations, personalized presentations and more

Resize your presentations quickly and without distortion

Language Selector switches the text in your presentation from one language to another

FixLinks prevents broken links when you distribute PowerPoint presentations

Shape Styles brings styles to PowerPoint. Apply complex formatting with a single click.

Slide number, SlideID, SlideIndex and all that jazz

PowerPoint numbers slides in several ways and it pays to know the difference.

When you create a new slide, it gets a unique SlideID, a unique number that's read-only ... you can't change it manually or programmatically. Reordering the slides won't cause it to change. Once a slide is created, it keeps the same SlideID forever.

SlideIndex is the ordinal number of the slide in the presentation as it's currently arranged. Move a slide around in slide sorter and its SlideIndex changes to reflect its new position in the show.

In other words, if the slide is the tenth one in the show, its SlideIndex is 10.

SlideNumber is the number that appears on printouts. Normally, it's the same as SlideIndex, but if you've change the starting slide number (in File, Page Setup) then SlideNumber = SlideIndex + (Starting Slide Number - 1)

You can use the FindBySlideID method to get a reference to the slide with SlideID XXX (and from that reference, get the SlideIndex if needed). See VBA Help for FindBySlideID for more details and some example code.


Did this solve your problem? If so, please consider supporting the PPT FAQ with a small PayPal donation.
Page copy protected against web site content infringement by Copyscape Contents © 1995 - 2022 Stephen Rindsberg, Rindsberg Photography, Inc. and members of the MS PowerPoint MVP team. You may link to this page but any form of unauthorized reproduction of this page's contents is expressly forbidden.

Supercharge your PPT Productivity with PPTools

content authoring & site maintenance by
Friday, the automatic faq maker (logo)
Friday - The Automatic FAQ Maker

Slide number, SlideID, SlideIndex and all that jazz
http://www.pptfaq.com/FAQ00337_Slide_number-_SlideID-_SlideIndex_and_all_that_jazz.htm
Last update 12 June, 2015
Created: