A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Creating a new XL file using "File"
Joined: Oct 22, 2004
Oct 06, 2008 05:17:00
In my application, i am creating a new XL file using the code below.
File f = new File("ABC.xls");
There is a link in my application which opens this file. The XL file created using the above code is of type MS Office 97-2003. If i want to create a XL of type MS Office 2007, what should i do?
Thanks in advance.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Oct 06, 2008 07:09:00
That code just creates a File object with a given name, assuming the "current" directory. It has nothing to do with the XL content type and does not create a disk file.
Joined: Mar 22, 2005
Oct 06, 2008 07:48:00
Please do not post the same question to multiple forums:
Let's continue the discussion in this
rocket mass heater
subject: Creating a new XL file using "File"
Open excel in JSP
Opening an Excel file
Escaping the forward slash while creating a remote file object.
Creating a new Excel file using "File"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015