title: C# Word - Range.InsertFIle not working
body: <p>i tried to insert a html file to a word with Range.InsertFIle method. But it is not working. Please help me.</p>
  
  <pre><code>object oFalse = false;
  string strFileName = @"E:\Workbook\SampleOutput\SampleOutput\SupportFiles\Report_43321100_ER.html";
  Word.Paragraph oPara1;
  oPara1 = oDoc.Content.Paragraphs.Add(ref oMissing);
          object oTrue = true;
          object oRange = oPara1.Range;
         // oDoc.Bookmarks.Add("BookMark", oRange);
          try
          {
              oPara1.Range.InsertFile(strFileName, ref oRange, ref oFalse, ref oTrue, ref oFalse);
          }
          catch (Exception ex)
          {
          }
  </code></pre>