title: How could I export Excel file when I get the information on table html (webbrowser)
body: <p>I create a form(home) and enter URL to get inside the website. I also create 10 tabs.So when I click to see information in home. it will display 10 Ids example like "100210323232".and inside each Ids have detail information about company name ,adress ... When i click button( I create a button ). The detail information of these ids will display in 10 tabs.</p>
  
  <p>Finally I want to export these detail information to excel file. </p>
  
  <p>The detal information table: <a href="https://gyazo.com/89cf839bd40970a65360312f586340f1" rel="nofollow">link</a>. And code display detail information in 10 tab</p>
  
  <pre><code>        var content1 = wb.Document.GetElementById("content").InnerHtml; 
          Regex regex1 = new Regex("&lt;TD.*&gt;&lt;A.*&gt;(.*)&lt;/A&gt;&lt;/TD&gt;"); 
          Regex regex2 = new Regex("&lt;TD.*&gt;&lt;A href=\"(.*)\"&gt;.*&lt;/A&gt;&lt;/TD&gt;"); 
          var run = 0;
          var intobj = 1;
          object[] obj = new object[10];
          foreach (Match match1 in regex1.Matches(content1.ToString())) 
          {
              run++;
              if (run == 5) 
              {
                  Match match2 = regex2.Match(match1.Value);
                  switch (intobj)
                  {
                      case 1:
                          wb1.Navigate(match2.Groups[1].Value.Replace("amp;", "&amp;"));
                          break;
                      case 2:
                          wb2.Navigate(match2.Groups[1].Value.Replace("amp;", "&amp;"));
                          break;
                      case 3:
                          wb3.Navigate(match2.Groups[1].Value.Replace("amp;", "&amp;"));
                          break;
                      case 4:
                          wb4.Navigate(match2.Groups[1].Value.Replace("amp;", "&amp;"));
                          break;
                      case 5:
                          wb5.Navigate(match2.Groups[1].Value.Replace("amp;", "&amp;"));
                          break;
                      case 6:
                          wb6.Navigate(match2.Groups[1].Value.Replace("amp;", "&amp;"));
                          break;
                      case 7:
                          wb7.Navigate(match2.Groups[1].Value.Replace("amp;", "&amp;"));
                          break;
                      case 8:
                          wb8.Navigate(match2.Groups[1].Value.Replace("amp;", "&amp;"));
                          break;
                      case 9:
                          wb9.Navigate(match2.Groups[1].Value.Replace("amp;", "&amp;"));
                          break;
                      case 10:
                          wb10.Navigate(match2.Groups[1].Value.Replace("amp;", "&amp;"));
                          break;
                  }
                  intobj++;
                  run = 0; // back run về 0
              }
          }
      }
  }
  </code></pre>