title: How to hide an excel column?
body: <p><br />
  I need to hide an excel column entirely. I used the below code but didn't work: <br /></p>
  
  <pre><code>public void Hide (params string[] columns)
  {
      foreach(var column in columns)
      {
          Range range = (Range) oSheet.Columns[column, Type.Missing];
          range.EntireColumn.Hidden = true;
      }
  }
  </code></pre>
  
  <p>What am I missing?</p>