In Excel, you can double-click a column header (actually the line between 2 column headers) and the column to the left will expand in width to fit the length of the longest text. Is there a way to do this programmatically? I am using Excel 2010 with C# and .Net framework.
In Excel, you can double-click a column header (actually the line between 2 column
Share
I believe you can use: