title: Excel Worksheet Adding Issue C#
body: <p>The Problem I am having is that each time a number from the comboBox is selected it is creating a new worksheet. I just want the variable to be added to the active sheet only, and not create a sheet each time. Any Help is greatly appreciated.</p>
  
  <p>Would something like this work?</p>
  
  <pre><code>        var xl = new Excel.Application();
          xl.Visible = true;
          var wb = (Excel._Workbook)xl.ActiveWorkbook; //(xl.Workbooks.Add(Missing.Value));
          var sheet = (Excel._Worksheet)wb.ActiveSheet;
  
          //Generate Linear Guide Support in Solidworks
          if (comboBox1.Text == "0")
          {
              sheet.Cells[6, 4] = "0"; //Cell Location[y-axis, x-axis]
          }
           if (comboBox2.Text == "AH")
          {
              sheet.Cells[6, 5] = "AH";
          }
          if(comboBox3.Text == "2")
          {
              sheet.Cells[6, 6] = "2";
          }        
  </code></pre>