title: How to get slide number of first slide in a section?
body: <p>I am trying to number only the slides within a specific section. To do this, I need to generate numbering for each slide. Let <strong>first</strong> be the slide number of the first slide in that section. Then, the formula for the number of each slide in the section is:</p>
  
  <blockquote>
    <p>Number = Current slide number - first + 1</p>
  </blockquote>
  
  <p>I currently have code which gives me the current slide number (the Text is within a shape, no need to worry about that).</p>
  
  <pre><code>.Text = "Add. Info" &amp; vbNewLine &amp; _
  ActiveWindow.View.Slide.SlideIndex
  </code></pre>
  
  <p>The section that I'm looking for is named AddInfo. </p>
  
  <p>How do I get the slide number of the first slide in that section?</p>