title: How to group all objects on a slide, which can be grouped, and resize the group?
body: <p>How do I group all objects (or &quot;shapes&quot;?) on a slide and resize that group?</p>
  <p>Subsequently the &quot;big&quot; group should be ungrouped.</p>
  <p>My attempt fails with &quot;function expected&quot;:</p>
  <pre class="lang-vb prettyprint-override"><code>Sub Group_And_Resize()
      Dim Sld As Slide
      With Sld.Shapes
          With .SelectAll.Group   //Error here
              .Width = 907
          End With
      End With
  End Sub
  </code></pre>
  <p>By manual experimentation, I learned that some objects (or &quot;shapes&quot;?) cannot be added to a group, such as slide numbers which are automatically generated. Is there any possibility to exclude those from the selection?</p>