ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2019 All rights reserved.Adjust width of column in excel sheet using OpenXML Library in ASP.Net<p>Hi santosh86,</p> <p>Please add below code in your header section date column</p> <pre class="brush: csharp">ws.Cell(&#34;F4&#34;).WorksheetColumn().AdjustToContents();</pre> <p>in above AdjustToContents you set Width of Column like below</p> <pre class="brush: csharp">ws.Cell(&#34;F4&#34;).WorksheetColumn().AdjustToContents(10, 50);</pre> <p>&nbsp;</p>, 03 Nov 2016 03:19:55 GMT