title: Center top most textframe VBA powerpoint
body: <p>so I have this line of code which works fine for just 1 ppt-file.</p>
  
  <pre><code>ActiveWindow.Selection.ShapeRange.TextFrame.TextRange.ParagraphFormat.Alignment=ppAlignCenter 
  </code></pre>
  
  <p>How can i make this work for all powerpoint files in the same folder with VBA? So that it knows that it selects the top most TextFrame and then AlignCenters it.</p>
  
  <p>Or even when all PPTs are open if that's easier..</p>