truevis wrote:
Any way to read fields directly from an .XLS file without Excel?
Yes. If you haven't Excel, you can use the
COM Standard Library and use ADO (ActiveX Data Objects), witch is part of the Microsoft Data Access Components (MDAC) by reading
ADO COM - Database Query. You will need to know the
connection string (someting like : "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyExcel.xls;Extended Properties="Excel 8.0;HDR=Yes;IMEX=1";") to connect to the database and at least a little of SQL command syntax (for example
here) to achieve retrieving the data you want to. In this case, I think that you can't make calculations but only use Excel as a database. The use is in this case almost the same as reading an Access database without Access.
In the other hand, if you have excel and that you don't want it to be visible, but that it isn't a problem to use it, you can do the job with (again) the COM Standard Library and by looking at
MS Office Automation Functions (via COM) [thanks Sean]. You connect to Excel (an existing instance or you launch it) and set it's "visible" property to false. You will need to know at least a little of VBA.
Si it's possible, but (very) hard if all that you red from me is an E.T language.
Good reading.
Hope it helps.