title: How to get selected shape in excel vba?
body: <p>I have inserted a smart art, and converted it to shapes. And Selected a shape by clicking on it.</p>
  
  <p>Now I want to get Shape object of slected shape. I have tried this but it throws exception.</p>
  
  <pre><code>dim shap as Excel.Shape = ExcelApp.Selection 
  </code></pre>
  
  <p>I can get the shape object by iterating on ActiveSheet.Shapes or like this</p>
  
  <pre><code>dim shap as Excel.Shape = ActiveSheet.Shapes.Item(1) 
  </code></pre>
  
  <p>But how would I know this shape is selected or not, Really need Help Thanks.</p>