title: Using selection and ranges in word interop
body: <p>How do ranges and selections work?</p>
  
  <p>If you insert something at the top of the page through a range, is that overridden by inserting something with selection? Does selection affect ranges?</p>
  
  <p>I'm having a problem where I do inserts in this order, but the InlineShapes show up at the top of the document above the Range.Inserts. Also, the Selection.InsertBefore gets replaced by the InlineShapes. </p>
  
  <p>I would like my range insert to appear above each picture, like a heading. How can this be done?</p>
  
  <pre><code>Selection.InsertBefore
  **Loop**
       Range.InsertParagraphAfter
       Selection.InlineShapes.AddPicture
  **End Loop** 
  </code></pre>
  
  <p><strong>I've asked a question like this three times now with no responses. Anything would help!</strong></p>
  
  <p>EDIT: </p>
  
  <p>I'm a step closer. Now, when I add my InlineShapes, I use Content.InlineShapes.AddPicture(FileName: x, range: y). Now the pictures are showing up in between paragraphs, but they are in the first cell of a table I add to the document before adding the picture. I add the table with with a collapsed range.</p>