title: Microsoft.Office.Interop.Excel: How to Apply a border to ONE CELL
body: <p>I am looking to apply a border to one cell using the Microsoft.Office.Interop.Excel library.</p>
  
  <p>I am running a while-loop that is search for a empty cell within a certain column, once the cell is found I want to apply a border to it. </p>
  
  <p>I know there many forums on this using Ranges, but I can't use the range functionality since I do not know what cell it is being applied to exactly. </p>
  
  <p>My idea was:</p>
  
  <pre><code>(Excel.Range)xlWS.Cells[row,1].Borders.LineStyle = (Whatever Value);
  </code></pre>
  
  <p>Any advice? (besides links to other forums, I already looked through tons of forms)? </p>