Question : Use DTS to Convert an Excel Spreadsheet into a .CSV file

I am building a web application that will allow a user to upload spreadsheets into a database.  I am using DTS packages to load these spreadsheets into SQL Server, however one particular spreadsheet is formatted inconsistently and the only way I can parse it into the database is by converting it into a .CSV file first.  

Is there a best practice or efficient way to do this using some sort of ActiveX script?

I am using SQL Server 2000 (SP4) and am fairly adept at using vbscript.

Much appreciated.

Answer : Use DTS to Convert an Excel Spreadsheet into a .CSV file

Here are a couple of related problems when importing from Excel using DTS:

Excel Inserts Null Values
PROBLEM: Why does Excel Insert NULLs into my table when I know there is good data in there?
http://www.sqldts.com/default.aspx?254

Excel treats First Row of Data as Headers
http://www.sqldts.com/default.aspx?255
Random Solutions  
 
programming4us programming4us