title: Excel auto fit column in VB.NET
body: <p>I have here my code in VB6 and its working well.</p>
  
  <pre><code> For CLms = 1 To 10
        ws.Columns(CLms).AutoFit '&lt;---Autofilt data on XL sheet
   Next CLms
  </code></pre>
  
  <p>I have searched on what is the equivalent or alternative on how to make the excel columns width autofit in VB.NET, but I'm still not getting the exact AutoFit function. </p>
  
  <p>Any help will be appreciated. </p>