Thanks a million Declan, this is perfect, J
-----Original Message----- From: Declan Maher [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 10:24 AM To: CF-Talk Subject: RE: querying an xls file Go to http://www.cfcomet.com/cfcomet/excel/ and check out the -- Use Excel files as datasources -- basic to advanced section. -----Original Message----- From: John McCosker [mailto:[EMAIL PROTECTED]] Sent: 18 April 2002 10:08 To: CF-Talk Subject: querying an xls file Greetings, could anyone advice me what would be the best way to extract data from, an excel xls file, I want to extract each column from each row and insert it into a DSN. I've done something similar before with a txt file, I used CFFILE READ, gave it a variable name looped through the varname and extracted my data using <CFSET newLine=Chr(13) & Chr(10)> as the loop delimeter, but I think xls is slightly different format. Could there possibly be a custom tag for this, any advice would be greatly appreciated, Respectfully, J ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists