title: Determine current heading text and number for a Word comment
body: <p>Context: Microsoft Word programming via VBA or VSTO.</p>
  
  <p>The Comments property of a Word Document object allows enumerating over all comments in a Word document.</p>
  
  <p>How can you find the current heading for a Word comment?</p>
  
  <p>Example document:</p>
  
  <blockquote>
    <p>Heading 1</p>
    
    <p>Heading 1.1</p>
    
    <p>(commment A)</p>
  </blockquote>
  
  <p>Output:
  comment A - Heading 1.1</p>