title: vba get id of selected shape
body: <p>I am trying to get the id of a selected group-shape after I have just grouped it. But I can't find the right syntax.
  Many thanks for your help. 
  Here is my current code</p>
  
  <pre><code>Dim Ausgabe as Integer
  [...]
          If ActiveWindow.Selection.ShapeRange.count &gt; 1 Then
              ActiveWindow.Selection.ShapeRange.Group.Select
              'Ausgabe = .Shape.Id --&gt; This line does not work ...
              MsgBox (Ausgabe)
          Else
  [...]
  </code></pre>
  
  <p>Many thanks for your help.</p>