Autofit Column Width using SSIS ETL on Visual Studio
问题 I´m creating an ETL on visual studio, but when I export my data to a table on Excel, the columns seem a bit short. Is there a way to autofit the column width from visual studio? Thank you Update 1 Here is the code as I copied it and also the error I get 回答1: You can achieve this using a script task that execute after the DataFlow Task success. You have to add Microsoft.Office.Interop.Excel assembly to the script task references and use the following code: (used Vb.Net) Note: you have to add