title: getting the heading of a selected text in word
body: <p>I am working With Microsoft Word VBA,macros,.net
  My question : Is there way to get sub-topic and master-topic that precedes a selected body text ?</p>
  
  <p>Here is an example:</p>
  
  <ul>
  <li><strong>Master topic (level 1)</strong></li>
  <li><strong>sub-topic 1 (level 2)</strong> 
  
  <ul>
  <li>body text a </li>
  <li>body text b body text c</li>
  </ul></li>
  <li><strong>sub-topic 2 (level 2)</strong> 
  
  <ul>
  <li>body text d </li>
  <li>body text e</li>
  </ul></li>
  <li><strong>Other MISC topics (level 2)</strong> body text f body text g body text h</li>
  </ul>
  
  <p>Here if <strong>bodytext e</strong> is selected I would like to run a macro that gives a result text<br>
  <strong>Master topic:sub-topic 1</strong>.
  I have tried with <code>range,parent ,Scope.Information(wdActiveEndSectionNumber)</code> etc but nothing seem to work!!!</p>