ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. 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>https://www.aspforums.net:443/Threads/148972/Adjust-width-of-column-in-excel-sheet-using-OpenXML-Library-in-ASPNet/https://www.aspforums.net:443/Threads/148972/Adjust-width-of-column-in-excel-sheet-using-OpenXML-Library-in-ASPNet/Thu, 03 Nov 2016 03:19:55 GMT