Hi Andy, That was the trick! I took this file and added it so my packge, which was the only change I have made so far to it. I ould ot find it on any of the jars for 3.0.2, though there seemed to be suggesioons it should be in the scratchpad jar.
It work great. I am now trying to figure out how to export the sheetname as well as this is vital for me.I'm not sure if I can tweak the code to do a setIncludeSheetNames... My working (filenames/exceptionhandling removed for brievity) code is as follows: InputStream inputStream = *new* FileInputStream(excelFile); POIFSFileSystem fileSystem = *new* POIFSFileSystem(inputStream); FileOutputStream outFile = *new* FileOutputStream(cvsFile); PrintStream printStream = *new* PrintStream(outFile); XLS2CSVmra xls2csv = *new* XLS2CSVmra(fileSystem, printStream, -1); xls2csv.process(); Any ideas on how I might tweak XLS2CSVmra to export the sheet names as well are appreciated. Tom. On Thu, May 29, 2008 at 7:32 PM, Andy Chien <[EMAIL PROTECTED]> wrote: > Ops > > I just figured it out now, that was the example. Code located in the > following: > > > http://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/hssf/eventusermodel/examples/XLS2CSVmra.java > > > Cheers, > > Andy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
