This seems to be a really simple solution when solving data type problems.
Basically, at the end of the Excel connection string add ;IMEX=1;"
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\YOURSERVER\shared\Client Projects\FOLDER\Data\FILE.xls;Extended Properties="EXCEL 8.0;HDR=YES;IMEX=1";
This will solve data type problems, such as columns, in which values are mixed with text and numbers.
To access the connection property, right-click on the Excel connection manager below the control flow and click properties. This will be to the right in the explorer section. Hope this helps.
SQLCodingIsFunnn
source share